I\'m trying to pass a string argument to a target function in a process. Somehow, the string is interpreted as a list of as many arguments as there are characters.
This
You have to pass
p = multiprocessing.Process(target=write, args=('hello',))
Notice the comma! Otherwise it is interpreted as a simple string and not as a 1 element tuple.