Browse Source

Give duda a clean environment, and update setup.py to use it

Hamilton Turner 11 years ago
parent
commit
769c95fc37
2 changed files with 6 additions and 1 deletions
  1. 5 0
      duda/bash_profile.sh
  2. 1 1
      duda/setup.py

+ 5 - 0
duda/bash_profile.sh

@@ -0,0 +1,5 @@
+#!/bin/bash
+
+export DUDAPATH=${IROOT}/dudac-0.23
+
+export PATH="$DUDAPATH:$PATH"

+ 1 - 1
duda/setup.py

@@ -4,7 +4,7 @@ import os
 import setup_util 
 import setup_util 
 
 
 def start(args, logfile, errfile):
 def start(args, logfile, errfile):
-  subprocess.Popen("./run_application", shell=True, stderr=errfile, stdout=logfile);
+  subprocess.Popen("dudac -w $TROOT/webservice -p 2001", shell=True, stderr=errfile, stdout=logfile);
   return 0
   return 0
 
 
 def stop(logfile, errfile):
 def stop(logfile, errfile):