Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/main/python/install_shield_builder.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env jython

import subprocess
import shlex

import hudson.model.Computer as Computer
import hudson.Util as Util
Expand Down Expand Up @@ -79,7 +80,8 @@ def perform(build, launcher, listener):
command += ' ' + arguments
# launch InstallShield builder (ISCmdBld.exe)
logger.println("Executing command: " + command)
popen = subprocess.Popen(command, shell=False,
command_list = shlex.split(command)
popen = subprocess.Popen(command_list, shell=False,
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
(stdoutdata, stderrdata) = popen.communicate()
for line in stdoutdata.splitlines():
Expand Down