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())
(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)