Issue #2198 - completely override the Path and PythonPath in the environment.
- PythonPath is specific to CAVE and will not normally be set - What is currently set in Path is not relevant because we are running ported code Former-commit-id:e1415e3689
[formerly 1edbb1847a9dfda4fa7562972b70c8ca3f83f246] Former-commit-id:f5c3b89dd2
This commit is contained in:
parent
b8f94691c1
commit
6b9ca89bbc
3 changed files with 4 additions and 5 deletions
Binary file not shown.
|
@ -56,11 +56,10 @@ namespace VizLauncher.com.raytheon.viz.launcher.process
|
|||
{
|
||||
ProcessStartInfo processStartInfo =
|
||||
new ProcessStartInfo(this.constructProcessName(vizEnvironment.getLocation()));
|
||||
processStartInfo.EnvironmentVariables.Remove(EnvironmentProperties.ENVIRONMENT_VARIABLE_PATH);
|
||||
processStartInfo.EnvironmentVariables.Add(
|
||||
EnvironmentProperties.ENVIRONMENT_VARIABLE_PATH, vizEnvironment.getPath());
|
||||
processStartInfo.EnvironmentVariables.Add(
|
||||
EnvironmentProperties.ENVIRONMENT_VARIABLE_PYTHON_PATH, vizEnvironment.getPythonPath());
|
||||
processStartInfo.EnvironmentVariables[EnvironmentProperties.ENVIRONMENT_VARIABLE_PATH] =
|
||||
vizEnvironment.getPath();
|
||||
processStartInfo.EnvironmentVariables[EnvironmentProperties.ENVIRONMENT_VARIABLE_PYTHON_PATH] =
|
||||
vizEnvironment.getPythonPath();
|
||||
processStartInfo.UseShellExecute = false;
|
||||
processStartInfo.Arguments = this.getCommandLineArguments();
|
||||
processStartInfo.RedirectStandardOutput = true;
|
||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue