- wrapper: fix bug in passing wrapper's args to subjobs

svn path=/trunk/boinc/; revision=18425
This commit is contained in:
David Anderson 2009-06-15 23:27:37 +00:00
parent 577f14ff49
commit 9a94db0bbb
2 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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",