From: <ror...@us...> - 2007-08-08 01:37:44
|
Revision: 162 http://roreditor.svn.sourceforge.net/roreditor/?rev=162&view=rev Author: rorthomas Date: 2007-08-07 18:37:42 -0700 (Tue, 07 Aug 2007) Log Message: ----------- * bugfixed automatic restart after update Modified Paths: -------------- trunk/tools/updaterestart.py Modified: trunk/tools/updaterestart.py =================================================================== --- trunk/tools/updaterestart.py 2007-08-08 01:34:35 UTC (rev 161) +++ trunk/tools/updaterestart.py 2007-08-08 01:37:42 UTC (rev 162) @@ -4,8 +4,8 @@ def main(): import time time.sleep(1) - path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "rortoolkit.bat") - p = Popen(path, shell = True) + path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "rortoolkit.py") + p = Popen(path, shell = True, cwd = os.path.dirname(path)) sys.exit(0) if __name__=="__main__": This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |