[Ironpython-users] Working Directory
Markus Schaber
m.schaber at 3s-software.com
Mon Aug 29 08:36:43 CEST 2011
Hi,
Von: ironpython-users-bounces+m.schaber=3s-software.com at 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.schaber at 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
More information about the Ironpython-users
mailing list