In proc.start("mkdir", args)
, args
should be a list or tuple. Because you are passing a string, PyQt is converting it into a list, making Qt receive a list of each of the characters of the string. To fix the problem, change args = "/Desktop/output/"
to args = ("/Desktop/output/",)
BTW, Python has an function for mkdir()
.