2012/12/11 Dennis Lee Bieber <wlfr...@ix.netcom.com>: > On Tue, 11 Dec 2012 10:34:23 -0300, peter <pjmak...@gmail.com> declaimed > the following in gmane.comp.python.general: > >> >> stderrfile = '%s/error.log' % os.getcwd() >> stdoutfile = '%s/out.log' % os.getcwd() >> > Ouch... > > stdoutfile = os.path.join(os.getcwd(), "out.log") > > minimizes any OS specific quirks in path naming... > -- > Wulfraed Dennis Lee Bieber AF6VN > wlfr...@ix.netcom.com HTTP://wlfraed.home.netcom.com/ > > -- > http://mail.python.org/mailman/listinfo/python-list
Good point yes, but in this case fork doesn't work on Windows anyway so it's not really an issue.. -- http://mail.python.org/mailman/listinfo/python-list