I need to be able to start a external process and
have the file space of the target process be set to the target directory,
not the callers directory:
For example assuming I start a jython shell in
/usr/me/
and I issue the command
os.system('jython /another/dir/touchscript.py')
and /another/dir/touchscript.py contains
import os
os.system('touch afile')
I need the file created to be in /another/dir/
not in /usr/me
Thanks,
Anthony
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
|