On Unix, with shell=False (default): In this case, the Popen class uses Name for the executing program in utilities such as ps. Is still treated by most programs as the command name, which can then beĭifferent from the actual executable name. When executable is given, the first item in the args sequence To execute is normally the first item in the args sequence or the string ifĪ string is given, but can be explicitly set by using the executableĪrgument. Popen ( args, bufsize=0, executable=None, stdin=None, stdout=None, stderr=None, preexec_fn=None, close_fds=False, shell=False, cwd=None, env=None, universal_newlines=False, startupinfo=None, creationflags=0 ) ¶Īrgs should be a string, or a sequence of program arguments. This module defines one class called Popen: class subprocess.
0 Comments
Leave a Reply. |