@@ -15,7 +15,7 @@ import { ValidationStatus, ValidationState, ILogger, Parser, ISystemVariables }
1515
1616
1717/**
18- * Options to be passed to the external program or shell
18+ * Options to be passed to the external program or shell.
1919 */
2020export interface CommandOptions {
2121 /**
@@ -33,25 +33,25 @@ export interface CommandOptions {
3333
3434export interface Executable {
3535 /**
36- * The command to be executed. Can be an external program or a shell
37- * command.
38- */
36+ * The command to be executed. Can be an external program or a shell
37+ * command.
38+ */
3939 command : string ;
4040
4141 /**
42- * Specifies whether the command is a shell command and therefore must
43- * be executed in a shell interpreter (e.g. cmd.exe, bash, ...).
44- */
42+ * Specifies whether the command is a shell command and therefore must
43+ * be executed in a shell interpreter (e.g. cmd.exe, bash, ...).
44+ */
4545 isShellCommand : boolean ;
4646
4747 /**
48- * The arguments passed to the command.
49- */
48+ * The arguments passed to the command.
49+ */
5050 args : string [ ] ;
5151
5252 /**
53- * The command options used when the command is executed. Can be omitted.
54- */
53+ * The command options used when the command is executed. Can be omitted.
54+ */
5555 options ?: CommandOptions ;
5656}
5757
@@ -90,68 +90,68 @@ export interface TerminateResponse {
9090
9191export namespace Config {
9292 /**
93- * Options to be passed to the external program or shell
94- */
93+ * Options to be passed to the external program or shell
94+ */
9595 export interface CommandOptions {
9696 /**
97- * The current working directory of the executed program or shell.
98- * If omitted VSCode's current workspace root is used.
99- */
97+ * The current working directory of the executed program or shell.
98+ * If omitted VSCode's current workspace root is used.
99+ */
100100 cwd ?: string ;
101101
102102 /**
103- * The additional environment of the executed program or shell. If omitted
104- * the parent process' environment is used.
105- */
103+ * The additional environment of the executed program or shell. If omitted
104+ * the parent process' environment is used.
105+ */
106106 env ?: IStringDictionary < string > ;
107107
108108 /**
109- * Index signature
110- */
109+ * Index signature
110+ */
111111 [ key :string ] : string | string [ ] | IStringDictionary < string > ;
112112 }
113113
114114 export interface BaseExecutable {
115115 /**
116- * The command to be executed. Can be an external program or a shell
117- * command.
118- */
116+ * The command to be executed. Can be an external program or a shell
117+ * command.
118+ */
119119 command ?: string ;
120120
121121 /**
122- * Specifies whether the command is a shell command and therefore must
123- * be executed in a shell interpreter (e.g. cmd.exe, bash, ...).
124- *
125- * Defaults to false if omitted.
126- */
122+ * Specifies whether the command is a shell command and therefore must
123+ * be executed in a shell interpreter (e.g. cmd.exe, bash, ...).
124+ *
125+ * Defaults to false if omitted.
126+ */
127127 isShellCommand ?: boolean ;
128128
129129 /**
130- * The arguments passed to the command. Can be omitted.
131- */
130+ * The arguments passed to the command. Can be omitted.
131+ */
132132 args ?: string [ ] ;
133133
134134 /**
135- * The command options used when the command is executed. Can be omitted.
136- */
135+ * The command options used when the command is executed. Can be omitted.
136+ */
137137 options ?: CommandOptions ;
138138 }
139139
140140 export interface Executable extends BaseExecutable {
141141
142142 /**
143- * Windows specific executable configuration
144- */
143+ * Windows specific executable configuration
144+ */
145145 windows ?: BaseExecutable ;
146146
147147 /**
148- * Mac specific executable configuration
149- */
148+ * Mac specific executable configuration
149+ */
150150 osx ?: BaseExecutable ;
151151
152152 /**
153- * Linux specific executable configuration
154- */
153+ * Linux specific executable configuration
154+ */
155155 linux ?: BaseExecutable ;
156156
157157 }
0 commit comments