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

◆ process_start_info() [3/3]

xtd::diagnostics::process_start_info::process_start_info ( const xtd::ustring file_name,
const xtd::ustring arguments 
)

Initializes a new instance of the xtd::diagnostics::process_start_info class, specifies an application file name with which to start the process, and specifies a set of command-line arguments_ to pass to the application.

Parameters
file_nameAn application with which to start a process.
argumentsCommand-line arguments to pass to the application when the process starts.
Remarks
The file name is any application or document. In this case, a document is defined to be any file type that has an open or default action associated with it. You can view registered file types and their associated applications for your computer by using the Folder Options dialog box, which is available through the operating system. The Advanced button leads to a dialog box that shows whether there is an open action associated with a specific registered file type.
You can change the xtd::diagnostics::process_start_info::file_name or xtd::diagnostics::process_start_info::arguments properties after you call this constructor, up to the time that the process starts. After you start the process, changing these values has no effect.