- xbt_dict_set(process_function_set, A_surfxml_process_function, NULL, NULL);
- xbt_dict_set(machine_set, A_surfxml_process_host, NULL, NULL);
- process.argc = 1;
- process.argv = xbt_new(char *, 1);
- process.argv[0] = xbt_strdup(A_surfxml_process_function);
- process.host = strdup(A_surfxml_process_host);
+ xbt_dict_set(process_function_set, process_arg->function, NULL, NULL);
+ xbt_dict_set(machine_set, process_arg->host, NULL, NULL);
+ process.argc = process_arg->argc;
+ process.argv = (char**)(process_arg->argv);
+ process.host = strdup(process_arg->host);