Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ProcessStartInfo.cs « System.Diagnostics « System « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 323c0a927919d3ba4e861db0b3778181260dfde6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
//
// System.Diagnostics.ProcessStartInfo.cs
//
// Authors:
//	Dick Porter (dick@ximian.com)
//
// (C) 2002 Ximian, Inc.  http://www.ximian.com
//

using System.Collections.Specialized;

namespace System.Diagnostics {
	public sealed class ProcessStartInfo {
		[MonoTODO]
		public ProcessStartInfo() {
		}

		[MonoTODO]
		public ProcessStartInfo(string filename) {
		}

		[MonoTODO]
		public ProcessStartInfo(string filename, string 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 {
				return(null);
			}
		}
		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;
			}
		}
	}
}