[Tutor] os.popen3 > subprocess.Popen but nohup.out won't go

Sander Sweers sander.sweers at gmail.com
Sat Apr 4 12:29:31 CEST 2009


2009/4/4 Sander Sweers <sander.sweers at gmail.com>:

Bah, of course you need to open the files writable :-(

This

> outfile = open('/tmp/myoutfile')
> errfile = open('/tmp/myerrfile')

Should be

outfile = open('/tmp/myoutfile', 'w')
errfile =open('/tmp/myerrfile', 'w')

Greets
Sander


More information about the Tutor mailing list