/[ascend]/trunk/test.py
ViewVC logotype

Diff of /trunk/test.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1187 by johnpye, Sun Jan 21 06:03:58 2007 UTC revision 1194 by johnpye, Mon Jan 22 01:30:56 2007 UTC
# Line 867  if __name__=='__main__': Line 867  if __name__=='__main__':
867      if restart:      if restart:
868          script = os.path.join(sys.path[0],"test.py")                              script = os.path.join(sys.path[0],"test.py")                    
869          print "Restarting with..."          print "Restarting with..."
870          print "   LD_LIBRARY_PATH=%s" % os.environ.get(LD_LIBRARY_PATH)          print "  export LD_LIBRARY_PATH=%s" % os.environ.get(LD_LIBRARY_PATH)
871          print "   PYTHONPATH=%s" % os.environ.get('PYTHONPATH')          print "  export PYTHONPATH=%s" % os.environ.get('PYTHONPATH')
872          print "   ASCENDLIBRARY=%s" % os.environ.get('ASCENDLIBRARY')          print "  export ASCENDLIBRARY=%s" % os.environ.get('ASCENDLIBRARY')
873    
874          if sys.argv[0] !="/usr/bin/gdb":          if sys.argv[0] !="/usr/bin/gdb":
875              os.execvp("python",[script] + sys.argv)              os.execvp("python",[script] + sys.argv)

Legend:
Removed from v.1187  
changed lines
  Added in v.1194

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22