> Hi, the parameter list should be a list of strings, not several unpacked
> strings :
>
>     command = ["/root/Desktop/abc.py","64","abc"]
>     proc1 = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE,
> stderr=subprocess.PIPE)
>

The first argument is list of string only when `shell=False` (default).
When `shell=True`, you should one string as the argument.

-- 
INADA Naoki  <songofaca...@gmail.com>
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to