forking and avoiding zombies!
Thomas Rachel
nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915 at spamschutz.glglgl.de
Tue Dec 11 10:15:18 EST 2012
More information about the Python-list mailing list
Tue Dec 11 10:15:18 EST 2012
- Previous message (by thread): forking and avoiding zombies!
- Next message (by thread): forking and avoiding zombies!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Am 11.12.2012 14:34 schrieb peter: > On 12/11/2012 10:25 AM, andrea crotti wrote: >> Ah sure that makes sense! >> >> But actually why do I need to move away from the current directory of >> the parent process? >> In my case it's actually useful to be in the same directory, so maybe >> I can skip that part, >> or otherwise I need another chdir after.. > You don't need to move away from the current directory. You cant use os > to get the current work directory > > stderrfile = '%s/error.log' % os.getcwd() > stdoutfile = '%s/out.log' % os.getcwd() ITYM os.path.join(os.getcwd(), 'error.log') resp. os.path.join(os.getcwd(), 'out.log') Thomas
- Previous message (by thread): forking and avoiding zombies!
- Next message (by thread): forking and avoiding zombies!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list