/[gli]/trunk/src/GLIUtility.py
Gentoo

Diff of /trunk/src/GLIUtility.py

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

Revision 700 Revision 701
298 wrapper.write("#!/bin/bash\n\nsource /etc/profile\n" + cmd + "\nexit $?\n") 298 wrapper.write("#!/bin/bash\n\nsource /etc/profile\n" + cmd + "\nexit $?\n")
299 wrapper.close() 299 wrapper.close()
300 cmd = "chmod a+x " + chroot + "/var/tmp/spawn.sh && chroot " + chroot + " /var/tmp/spawn.sh 2>&1" 300 cmd = "chmod a+x " + chroot + "/var/tmp/spawn.sh && chroot " + chroot + " /var/tmp/spawn.sh 2>&1"
301 else: 301 else:
302 cmd += " 2>&1 " 302 cmd += " 2>&1 "
303
304 output = ""
303 305
304 if logfile: 306 if logfile:
305 if append_log: 307 if append_log:
306 fd_logfile = open(logfile,'a') 308 fd_logfile = open(logfile,'a')
307 else: 309 else:

Legend:
Removed from v.700  
changed lines
  Added in v.701

  ViewVC Help
Powered by ViewVC 1.1.20