git://git.onelab.eu
/
nepi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bugfixes
[nepi.git]
/
nepi
/
util
/
execfuncs.py
diff --git
a/nepi/util/execfuncs.py
b/nepi/util/execfuncs.py
index
502906c
..
0d61b42
100644
(file)
--- a/
nepi/util/execfuncs.py
+++ b/
nepi/util/execfuncs.py
@@
-142,7
+142,7
@@
def lspawn(command, pidfile,
else:
stderr = ' ' + stderr
else:
stderr = ' ' + stderr
- escaped_pidfile = shell_escape(pidfile)
,
+ escaped_pidfile = shell_escape(pidfile)
daemon_command = '{{ {{ {command} > {stdout} 2>{stderr} < {stdin} & }} ; echo $! 1 > {escaped_pidfile} ; }}'\
.format(**locals())
daemon_command = '{{ {{ {command} > {stdout} 2>{stderr} < {stdin} & }} ; echo $! 1 > {escaped_pidfile} ; }}'\
.format(**locals())
@@
-156,8
+156,8
@@
def lspawn(command, pidfile,
(out, err), proc = lexec(cmd)
if proc.wait():
(out, err), proc = lexec(cmd)
if proc.wait():
- raise RuntimeError("Failed to set up
application on host {}
: {} {}"
- .format(
host,
out, err))
+ raise RuntimeError("Failed to set up
local application
: {} {}"
+ .format(out, err))
return ((out, err), proc)
return ((out, err), proc)