| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- //
- // System.Diagnostics.ProcessStartInfo.cs
- //
- // Authors:
- // Dick Porter ([email protected])
- //
- // (C) 2002 Ximian, Inc. http://www.ximian.com
- //
- using System.Collections.Specialized;
- namespace System.Diagnostics {
- public sealed class ProcessStartInfo {
- public ProcessStartInfo() {
- }
- public ProcessStartInfo(string filename) {
- this.filename=filename;
- }
- public ProcessStartInfo(string filename, string arguments) {
- this.filename=filename;
- this.arguments=arguments;
- }
- private string arguments="";
-
- public string Arguments {
- get {
- return(arguments);
- }
- set {
- arguments=value;
- }
- }
- private bool create_no_window=false;
-
- public bool CreateNoWindow {
- get {
- return(create_no_window);
- }
- set {
- create_no_window=value;
- }
- }
- [MonoTODO("Need to read the env block somehow")]
- public StringDictionary EnvironmentVariables {
- get {
- throw new NotImplementedException();
- }
- }
- private bool error_dialog=false;
-
- public bool ErrorDialog {
- get {
- return(error_dialog);
- }
- set {
- error_dialog=value;
- }
- }
- private IntPtr error_dialog_parent_handle=(IntPtr)0;
-
- public IntPtr ErrorDialogParentHandle {
- get {
- return(error_dialog_parent_handle);
- }
- set {
- error_dialog_parent_handle=value;
- }
- }
- private string filename="";
-
- public string FileName {
- get {
- return(filename);
- }
- set {
- filename=value;
- }
- }
- private bool redirect_standard_error=false;
-
- public bool RedirectStandardError {
- get {
- return(redirect_standard_error);
- }
- set {
- redirect_standard_error=value;
- }
- }
- private bool redirect_standard_input=false;
-
- public bool RedirectStandardInput {
- get {
- return(redirect_standard_input);
- }
- set {
- redirect_standard_input=value;
- }
- }
- private bool redirect_standard_output=false;
-
- public bool RedirectStandardOutput {
- get {
- return(redirect_standard_output);
- }
- set {
- redirect_standard_output=value;
- }
- }
- private bool use_shell_execute=true;
-
- public bool UseShellExecute {
- get {
- return(use_shell_execute);
- }
- set {
- use_shell_execute=value;
- }
- }
- private string verb="";
-
- public string Verb {
- get {
- return(verb);
- }
- set {
- verb=value;
- }
- }
- [MonoTODO]
- public string[] Verbs {
- get {
- return(null);
- }
- }
- private ProcessWindowStyle window_style=ProcessWindowStyle.Normal;
-
- public ProcessWindowStyle WindowStyle {
- get {
- return(window_style);
- }
- set {
- window_style=value;
- }
- }
- private string working_directory="";
-
- public string WorkingDirectory {
- get {
- return(working_directory);
- }
- set {
- working_directory=value;
- }
- }
- }
- }
|