David Rose 16 anni fa
parent
commit
b710786378
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      direct/src/plugin/p3dSession.cxx

+ 1 - 1
direct/src/plugin/p3dSession.cxx

@@ -1318,7 +1318,7 @@ posix_create_process() {
       }
       }
     }
     }
 
 
-    if (_use_start_dir) {
+    if (!_keep_user_env) {
       if (chdir(_start_dir.c_str()) < 0) {
       if (chdir(_start_dir.c_str()) < 0) {
         nout << "Could not chdir to " << _start_dir << "\n";
         nout << "Could not chdir to " << _start_dir << "\n";
         // This is a warning, not an error.  We don't actually care
         // This is a warning, not an error.  We don't actually care