Diff
Differences From Artifact [8587c265d6]:
- File action.py — part of check-in [5a6185c3aa] at 2016-11-06 14:41:39 on branch trunk — Use subprocess.list2cmdline() for Windows, and pipes.quote() for BSD/Linux command execution. (user: mario, size: 27300) [annotate] [blame] [check-ins using]
To Artifact [ce49d58115]:
- File action.py — part of check-in [a2ef839027] at 2016-11-06 20:06:57 on branch trunk — Fix hidden `conf.cmd` lookup (user: mario, size: 27299) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
129 130 131 132 133 134 135 |
# "urn:reciva": stream_resolve(),
}
# Exec wrapper
def run(cmd):
| | | 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 |
# "urn:reciva": stream_resolve(),
}
# Exec wrapper
def run(cmd):
if "cmd" in conf:
cmd = conf.cmd % cmd
elif conf.windows:
cmd = "start " + cmd
else:
cmd = cmd + " &"
try:
log.EXEC(cmd)
|
| ︙ | ︙ |