|
RE: Running Shell Commands: msg#00024python.buildbot.devel
> I need to run `make allmodconfig > .config` using ShellCommand but I keep > getting the following errors: > > command '['(make allmodconfig > .config)']' in dir > /home/philips/projects/bigit/slave/full/build (timeout 1200 secs) > Upon execvpe (make allmodconfig > .config) ['(make allmodconfig > > .config)'] in environment id -1216986820: > Traceback (most recent call last): > File "/usr/lib/python2.3/site-packages/twisted/internet/process.py", > line 674, in __init__ > os.execvpe(command, args, environment) > File "/usr/lib/python2.3/os.py", line 345, in execvpe > _execvpe(file, args, env) > File "/usr/lib/python2.3/os.py", line 374, in _execvpe > func(fullname, *argrest) > OSError: [Errno 2] No such file or directory > program finished with exit code 1 > > Any ideas? It looks (to the untrained eye! :-) like you're not passing it in in the correct format. The shell commands take lists of space separated commands and arguments. First param is the command 'make' and then a list of args. Try doing: c = 'make allmodconfig > .config'.split(' ') ShellCommand(c[0], c[1:] ... ) # or however args work Nick ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_ids93&alloc_id281&op=click |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Web server on master: 00024, Nick Trout |
|---|---|
| Next by Date: | Re: [PATCH] Initial cogito support: 00024, Brian Warner |
| Previous by Thread: | Re: Running Shell Commandsi: 00024, Brandon Philips |
| Next by Thread: | Web server on master: 00024, Nick Trout |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |