From bc5bcad284463c1d7cf2a765a7bdb673665e2bf9 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 7 Apr 2016 17:26:53 +0200 Subject: [PATCH] bugfixes --- nepi/util/execfuncs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nepi/util/execfuncs.py b/nepi/util/execfuncs.py index 502906c8..0d61b42e 100644 --- a/nepi/util/execfuncs.py +++ b/nepi/util/execfuncs.py @@ -142,7 +142,7 @@ def lspawn(command, pidfile, 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()) @@ -156,8 +156,8 @@ def lspawn(command, pidfile, (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) -- 2.43.0