74 [[nodiscard]]
auto arguments() const noexcept -> const
xtd::
string&;
92 [[nodiscard]] auto
domain() const noexcept -> const
xtd::
string&;
811 [[nodiscard]] auto
verb() const noexcept ->
xtd::
string;
857 xtd::
string file_name_;
858 xtd::
string arguments_;
859 bool create_no_window_ = false;
861 bool error_dialog_ = false;
862 xtd::
intptr error_dialog_parent_handle_ = 0;
864 bool load_user_profile_ = false;
866 bool redirect_standard_error_ = false;
867 bool redirect_standard_input_ = false;
868 bool redirect_standard_output_ = false;
869 xtd::
string user_name_;
870 bool use_shell_execute_ = false;
873 xtd::
string working_directory_;
Specifies a set of values that are used when you start a process.
Definition process_start_info.hpp:40
auto load_user_profile() const noexcept -> bool
Gets a value that indicates whether the Windows user profile is to be loaded from the registry.
auto user_name() const noexcept -> const xtd::string &
Gets the user name to be used when starting the process.
auto environment() const noexcept -> const xtd::collections::generic::idictionary< xtd::string, xtd::string > &
Gets the environment variables that apply to this process and its child processes.
auto password() const noexcept -> const xtd::security::secure_string &
Gets a secure string that contains the user password to use when starting the process.
process_start_info(const xtd::string &file_name)
Initializes a new instance of the xtd::diagnostics::process_start_info class and specifies a file nam...
process_start_info(const xtd::string &file_name, const xtd::string &arguments)
Initializes a new instance of the xtd::diagnostics::process_start_info class, specifies an applicatio...
auto password_in_clear_text() const noexcept -> xtd::string
Gets the user password in clear text to use when starting the process.
auto redirect_standard_output() const noexcept -> bool
Gets a value that indicates whether the textual output of an application is written to the xtd::diagn...
auto domain() const noexcept -> const xtd::string &
Gets a value that identifies the domain to use when starting the process.
auto error_dialog() const noexcept -> bool
Gets a value indicating whether an error dialog box is displayed to the user if the process cannot be...
auto window_style() const noexcept -> xtd::diagnostics::process_window_style
Gets the window state to use when the process is started.
auto verbs() const -> xtd::collections::generic::list< xtd::string >
Gets the set of verbs associated with the type of file specified by the xtd::diagnostics::process_sta...
auto environment_variables() const noexcept -> const xtd::collections::generic::idictionary< xtd::string, xtd::string > &
Gets search paths for files, directories for temporary files, application-specific options,...
auto working_directory() const noexcept -> const xtd::string &
When the xtd::diagnostics::process_start_info::use_shell_execute property is false,...
auto create_no_window() const noexcept -> bool
Gets a value indicating whether to start the process in a new window.
auto arguments() const noexcept -> const xtd::string &
Gets the set of command-line arguments to use when starting the application.
auto error_dialog_parent_handle() const noexcept -> xtd::intptr
Gets the window handle to use when an error dialog box is shown for a process that cannot be started.
auto redirect_standard_error() const noexcept -> bool
Gets a value that indicates whether the error output of an application is written to the xtd::diagnos...
auto redirect_standard_input() const noexcept -> bool
Gets a value indicating whether the input for an application is read from the Process....
auto file_name() const noexcept -> const xtd::string &
Gets the application or document to start.
auto verb() const noexcept -> xtd::string
Gets the verb to use when opening the application or document specified by the FileName property.
process_start_info()=default
Initializes a new instance of the xtd::diagnostics::process_start_info class without specifying a fil...
bool use_shell_execute() const noexcept
Gets a value indicating whether to use the operating system shell to start the process.
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:45
Contains core_export_ keyword.
Contains xtd::collections::generic::dictionary <key_t, value_t> class.
#define core_export_
Define shared library export.
Definition core_export.hpp:13
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
std::intmax_t intptr
Represent a pointer or a handle.
Definition intptr.hpp:23
process_window_style
Specified how a new window should appear when the system starts a process.
Definition process_window_style.hpp:24
@ normal
Specifies that the process has no special scheduling needs.
Definition process_priority_class.hpp:28
Contains xtd::collections::generic::list <type_t> class.
The xtd::collections namespace contains interfaces and classes that define various collections of obj...
Definition any_pair.hpp:10
The xtd::diagnostics namespace provides classes that allow you to interact with system processes,...
Definition assert_dialog_result.hpp:10
Provides the underlying structure of the security system, including base classes for permissions.
Definition secure_string.hpp:11
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::object class.
Contains xtd::diagnostics::process_window_style enum class.
Contains xtd::security::secure_string class.