[minor] cosmetics in print

This commit is contained in:
Marcel Paffrath 2017-08-03 10:33:58 +02:00
parent 5e2dc6c9f9
commit 85a01fb0f1

View File

@ -2944,7 +2944,10 @@ class Submit2Grid(QWidget):
command = self.textedit.text().strip().split(' ') command = self.textedit.text().strip().split(' ')
command.append(self.script_fn) command.append(self.script_fn)
p = subprocess.Popen(command) p = subprocess.Popen(command)
print('exec. command: {}'.format(str(command))) cmd_str = str()
for item in command:
cmd_str += item + ' '
print('exec. command: {}'.format(cmd_str))
print('Spawned autoPyLoT process with pid {}'.format(p.pid)) print('Spawned autoPyLoT process with pid {}'.format(p.pid))
@ -2968,7 +2971,10 @@ class SubmitLocal(QWidget):
def execute_command(self, pp_export): def execute_command(self, pp_export):
command = self.script_fn command = self.script_fn
command.append(pp_export) command.append(pp_export)
print('exec. command: {}'.format(str(command))) cmd_str = str()
for item in command:
cmd_str += item + ' '
print('exec. command: {}'.format(cmd_str))
p = subprocess.Popen(command) p = subprocess.Popen(command)
print('Spawned autoPyLoT process with pid {}'.format(p.pid)) print('Spawned autoPyLoT process with pid {}'.format(p.pid))