Hi, Von: ironpython-users-bounces+m.schaber=3s-software....@python.org > > if you are running windows: > > > > if you end up in the wrong directory after failure you could use > > sub-batch-files (call xxxx.bat ....) and in that sub-batch-files you > > could use the command setlocal. Then environment and working directory > > are restored on return from the batch file. > > Yeah, that feels like quite a hack. It's odd you can't set the working > directory for the python executable.
In my eyes, implementing that for python feels like a hack. This would mean that each executable to which the current directory might have some relevancy needs to implement its own mechanism to change the current directory, instead of implementing it once and for all in the shell/batch interpreter. Best regards Markus Schaber ___________________________ We software Automation. 3S-Smart Software Solutions GmbH Markus Schaber | Developer Memminger Str. 151 | 87439 Kempten | Germany | Tel. +49-831-54031-0 | Fax +49-831-54031-50 Email: m.scha...@3s-software.com | Web: http://www.3s-software.com CoDeSys internet forum: http://forum.3s-software.com Download CoDeSys sample projects: http://www.3s-software.com/index.shtml?sample_projects Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915 _______________________________________________ Ironpython-users mailing list Ironpython-users@python.org http://mail.python.org/mailman/listinfo/ironpython-users