Allows to convert files (still incomplete)

This commit is contained in:
Sergio Costas 2014-07-25 21:50:48 +02:00
parent e404f27e45
commit 4f42fb4dbd
8 changed files with 403 additions and 45 deletions

View file

@ -83,6 +83,8 @@ class executor(GObject.GObject):
for e in command:
self.launch_command += (e+" ")
print(self.launch_command)
if (self.stdin_file != None):
self.handle = subprocess.Popen(command,stdin = subprocess.PIPE, stdout = subprocess.PIPE, stderr = subprocess.PIPE)
self.channel_stdin = GLib.IOChannel(self.handle.stdin.fileno())