Thanks a lot :)
Petr
--
http://mail.python.org/mailman/listinfo/python-list
McBooCzech wrote:
> This is easy. Subprocess function "call" looks:
> returncode = subprocess.call(["/root/dex/dex","/dev/ttyS0",
> "blabla.txt"])
> and it runs smoothly.
>
> The problem starts when I am trying to add 1>/dev/null 2>/dev/null
> parameters to suppres output sendings.
from subproces
Hi all,
I am trying to use subprocess module on Linux/Python-2.4.1, but I can't
dig throught.
I need to call executable which needs two parameters to be ginven (the
serial port and the file name).
It looks like
/root/dex/dex /dev/ttyS0 blabla.txt
in the shell.
This is easy. Subprocess function "