System::Diagnostics::ProcessStartInfo class

ProcessStartInfo class

Describes process start parameters. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class ProcessStartInfo : public System::Object

Methods

MethodDescription
get_Arguments() constGets process arguments.
get_CreateNoWindow() constGets NoWindow property.
get_EnvironmentVariables() constGets process environment variables.
get_FileName() constGets process file name.
get_RedirectStandardError() constGets RedirectStandardError property.
get_RedirectStandardInput() constGets RedirectStandardInput property.
get_RedirectStandardOutput() constGets RedirectStandardOutput property.
get_UseShellExecute() constGets UseShellExecute property.
get_WindowStyle() constGets window style.
get_WorkingDirectory() constGets working directory of the process.
ProcessStartInfo()Creates empty start info object.
ProcessStartInfo(const String&)Creates start info object.
ProcessStartInfo(const String&, const String&)Creates start info object.
set_Arguments(const String&)Sets process arguments.
set_CreateNoWindow(bool)Sets NoWindow property.
set_FileName(const String&)Sets process file name.
set_RedirectStandardError(bool)Sets RedirectStandardError property.
set_RedirectStandardInput(bool)Sets RedirectStandardInput property.
set_RedirectStandardOutput(bool)Sets RedirectStandardOutput property.
set_UseShellExecute(bool)Sets UseShellExecute property.
set_WindowStyle(ProcessWindowStyle)Sets window style.
set_WorkingDirectory(const String&)Sets working directory of the process.

See Also