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

Diff of /trunk/test.py

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

revision 1170 by johnpye, Wed Jan 17 12:19:25 2007 UTC revision 1187 by johnpye, Sun Jan 21 06:03:58 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 "   LD_LIBRARY_PATH=%s" % os.environ.get(LD_LIBRARY_PATH)
871          print "   PYTHONPATH = %s" % os.environ.get('PYTHONPATH')          print "   PYTHONPATH=%s" % os.environ.get('PYTHONPATH')
872          print "   ASCENDLIBRARY = %s" % os.environ.get('ASCENDLIBRARY')          print "   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.1170  
changed lines
  Added in v.1187

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