Roy> I need to run a command using subprocess.Popen() and have stdin
Roy> connected to the null device.
os.path.devnull should do what you want:
>>> os.path.devnull
'/dev/null'
>>> import ntpath
>>> ntpath.devnull
'nul'
--
Skip Montanaro - [email protected] - http://www.smontanaro.net/
--
http://mail.python.org/mailman/listinfo/python-list
