From 02ff7254db0b25f0e09a988132fe1de22333f8d3 Mon Sep 17 00:00:00 2001 From: Lucia Guevgeozian Odizzio Date: Thu, 30 Jan 2014 15:50:02 +0100 Subject: [PATCH] Change for lexec func --- src/nepi/util/execfuncs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/nepi/util/execfuncs.py b/src/nepi/util/execfuncs.py index e09d4905..eaadf509 100644 --- a/src/nepi/util/execfuncs.py +++ b/src/nepi/util/execfuncs.py @@ -41,10 +41,10 @@ def lexec(command, command = "su %s ; %s " % (user, command) - p = subprocess.Popen(command, shell=True, + p = subprocess.Popen(command, stdout = subprocess.PIPE, - stderr = subprocess.PIPE) - #stdin = stdin) + stderr = subprocess.PIPE, + stdin = stdin) out, err = p.communicate() return (out, err) -- 2.47.0