Ticket #256: commands.py.patch
| File commands.py.patch, 0.5 KB (added by ramaboule, 2 years ago) |
|---|
| Line | |
|---|---|
| 1 | 334c334,336 |
| 2 | < argv = [os.environ['COMSPEC'], '/c', self.command] |
| 3 | --- |
| 4 | > argv = os.environ['COMSPEC'].split() # allow %COMSPEC% to have args |
| 5 | > if '/c' not in argv: argv += ['/c'] |
| 6 | > argv += [self.command] |
| 7 | 341c343,345 |
| 8 | < argv = [os.environ['COMSPEC'], '/c'] + list(self.command) |
| 9 | --- |
| 10 | > argv = os.environ['COMSPEC'].split() # allow %COMSPEC% to have args |
| 11 | > if '/c' not in argv: argv += ['/c'] |
| 12 | > argv += list(self.command) |
![[Buildbot Logo]](/trac/chrome/site/header-text-transparent.png)