xtd 0.2.0
Loading...
Searching...
No Matches

◆ create_no_window() [2/2]

process_start_info & xtd::diagnostics::process_start_info::create_no_window ( bool  value)
noexcept

Sets a value indicating whether to start the process in a new window.

Parameters
valuetrue if the process should be started without creating a new window to contain it; otherwise, false. The default is false.
Returns
The current instance of process_start_info.
Remarks
If the xtd::diagnostics::process_start_info::use_shell_execute property is true or the xtd::diagnostics::process_start_info::user_name and xtd::diagnostics::process_start_info::password properties are not empty, the xtd::diagnostics::process_start_info::create_no_window property value is ignored and a new window is created.