Renamed env_vars to env_vars_snapshot_t

Cleanup of non-wcstring version of path_get_path
This commit is contained in:
ridiculousfish
2012-07-20 20:39:31 -07:00
parent b290fd33b9
commit b08fb86637
19 changed files with 95 additions and 194 deletions

View File

@@ -237,7 +237,7 @@ static void safe_launch_process( process_t *p, const char *actual_cmd, char **ar
// debug( 1, L"exec '%ls'", p->argv[0] );
execve ( wcs2str(p->actual_cmd),
execve ( wcs2str(p->actual_cmd.c_str()),
argv,
envv );
@@ -367,7 +367,7 @@ static void launch_process_nofork( process_t *p )
char **argv = wcsv2strv(p->get_argv());
char **envv = env_export_arr( 0 );
char *actual_cmd = wcs2str(p->actual_cmd);
char *actual_cmd = wcs2str(p->actual_cmd.c_str());
/* Bounce to launch_process. This never returns. */
safe_launch_process(p, actual_cmd, argv, envv);