mirror of https://github.com/BOINC/boinc.git
- wrapper: fix bug in passing wrapper's args to subjobs
svn path=/trunk/boinc/; revision=18425
This commit is contained in:
parent
577f14ff49
commit
9a94db0bbb
|
@ -5682,3 +5682,9 @@ David 15 June 2009
|
|||
start
|
||||
py/Boinc/
|
||||
boinc_project_path.py
|
||||
|
||||
David 15 June 2009
|
||||
- wrapper: fix bug in passing wrapper's args to subjobs
|
||||
|
||||
samples/wrapper/
|
||||
wrapper.cpp
|
||||
|
|
|
@ -255,10 +255,8 @@ int TASK::run(int argct, char** argvt) {
|
|||
// Append wrapper's command-line arguments to those in the job file.
|
||||
//
|
||||
for (int i=1; i<argct; i++){
|
||||
command_line += string(" ");
|
||||
command_line += argvt[i];
|
||||
if ((i+1) < argct){
|
||||
command_line += string(" ");
|
||||
}
|
||||
}
|
||||
|
||||
fprintf(stderr, "%s wrapper: running %s (%s)\n",
|
||||
|
|
Loading…
Reference in New Issue