| 1 | initial version |
The -c needs to be a separate argument from the code:
sprintf(args[0],"sage");
sprintf(args[1],"-c");
sprintf(args[2],"\"taskId=%d;taskArgs=[%s];load('%s');\"",taskNumber,arguments,inp_programFile);
args[3] = NULL;
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.