instance.py

changeset 12
16a8c63344c0
parent 10
76dbfb06eba0
child 20
fdfbe5d7b677
--- a/instance.py	Sat Jan 20 20:34:23 2018 +0000
+++ b/instance.py	Sat Jan 20 20:34:32 2018 +0000
@@ -40,7 +40,10 @@
 
         logging.info('Launching ' + str(cmd))
 
-        self.proc=Popen(cmd, stdout=PIPE, stderr=PIPE, stdin=None)
+        self.proc=Popen(cmd, stdout=PIPE, stderr=PIPE, stdin=PIPE)
+
+        # We don't do password input etc.
+        self.proc.stdin.close()
 
     def read_result(self):
         stream=self.proc.stdout

mercurial