rctx->cmd = xbt_strdup(line);
rctx->filepos = xbt_strdup(filepos);
+ if(option){
+ rctx->cmd = bprintf("%s %s",rctx->cmd,option);
+ }
INFO3("[%s] %s%s", filepos, rctx->cmd,
((rctx->is_background) ? " (background command)" : ""));
xbt_dynar_free(&a);
/* If an empty line moved in first position, move it back to the end */
if (rctx->output_got->data[0]=='\n') {
- fprintf(stderr,"XXX");
memmove(rctx->output_got->data,rctx->output_got->data+1,rctx->output_got->used-1);
rctx->output_got->data[rctx->output_got->used-1] = '\n';
}