En Wed, 27 Feb 2008 18:59:59 -0200, Michael Goerz  
<[EMAIL PROTECTED]> escribi�:

>> Try with stdin=open("/dev/full") or stdin=open("/dev/null")
> using /dev/null works in my specific case (in my posted minimal example
> I still have to press Enter, but in the real program it causes pdflatex
> to fail, like I want it to). However, the solution is limited do Linux,
> as on Windows there's no /dev/null. Is there a platform independent
> solution?

It's spelled "NUL" on Windows; os.devnull returns the right thing  
depending on the platform.

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to