|
noexcept |
Gets search paths for files, directories for temporary files, application-specific options, and other similar information.
my_process.startInfo().environment_variables().insert({"TempPath", "C:\\Temp"});. You must set the xtd::diagnostics::process_start_info::use_shell_execute property to false to start the process after changing the xtd::diagnostics::process_start_info::environment_variables property. If xtd::diagnostics::process_start_info::use_shell_execute is true, an xtd::invalid_operation_exception is thrown when the xtd::diagnostics::process::start method is called.