@interruptable
def _fork_posix(args, cwd=None):
 encoded_args = [encode(arg) for arg in args]
 return subprocess.Popen(encoded_args, cwd=cwd).pid

@ interruptable def _fork_posix ( args , cwd = None ) : encoded_args = [ encode ( arg ) for arg in args ] return subprocess . Popen ( encoded_args , cwd = cwd ) . pid
launch a process in the background .