--- parser3/src/main/pa_exec.C 2004/07/07 10:22:28 1.62 +++ parser3/src/main/pa_exec.C 2004/07/28 13:25:41 1.64 @@ -7,7 +7,7 @@ @todo setrlimit */ -static const char * const IDENT_EXEC_C="$Date: 2004/07/07 10:22:28 $"; +static const char * const IDENT_EXEC_C="$Date: 2004/07/28 13:25:41 $"; #include "pa_config_includes.h" @@ -75,7 +75,6 @@ static DWORD CreateHiddenConsoleProcess( strncpy(dir, szCmdLine, MAX_STRING-1); dir[MAX_STRING-1]=0; lsplit(dir,' '); // trim arguments rsplit(dir,'/'); rsplit(dir,'\\'); // trim filename - chdir(dir); // Create a child process (suspended) fCreated=CreateProcess(NULL, @@ -310,7 +309,7 @@ static void append_env_pair(HashStringSt info->body.append_know_length("\1", 1); // placeholder for of zero byte #else String::Body body; - body << key << "=" << value.cstr(String::L_UNSPECIFIED); + body << key << "=" << value.cstr(); *(info->env_ref++)=body.cstrm(); #endif