Hi All, I definitely have a strange behaviour of Python on my machine ! Here's the result of the test I've made today:
I created two very simple scripts name FIRST.PY and SECOND.PY. The first one calls the second one. Each script displays the current working directory. FIRST.PY: import os, subprocess cmd = r"c:\python27\python.exe C:\data\prgpy\testcwd\second.py" print "FIRST.PY - Current Directory:", os.getcwd() subprocess.call(cmd, shell=True, cwd=os.getcwd()) print "FIRST.PY - Current Directory:", os.getcwd() SECOND.PY: import os print "SECOND.PY - Current Directory:", os.getcwd() Both scripts are located in C:\data\prgpy\testcwd. I run the first script : C:\data\prgpy\testcwd>python first.py FIRST.PY - Current Directory: C:\data\prgpy\testcwd SECOND.PY - Current Directory: C:\data FIRST.PY - Current Directory: C:\data\prgpy\testcwd As you can see, the first displays the current directory, but the second displays C:\data That's exactly what it does with the Qooxdoo generator. I tried with and without the "cwd" argument to subprocess.call, but the result is the same. Maybe I should post this on a Python forum, what do you think ? Marc. -- View this message in context: http://qooxdoo.678.n2.nabble.com/Generator-config-json-not-found-tp7585866p7585917.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel