File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
src/main/java/com/browserstack/local Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -183,18 +183,15 @@ protected LocalProcess runCommand(List<String> command) throws IOException {
183
183
final Process process = processBuilder .start ();
184
184
185
185
return new LocalProcess () {
186
- @ Override
187
186
public InputStream getInputStream () {
188
187
return process .getInputStream ();
189
188
}
190
189
191
- @ Override
192
190
public InputStream getErrorStream () {
193
191
return process .getErrorStream ();
194
192
}
195
193
196
- @ Override
197
- public int waitFor () throws InterruptedException {
194
+ public int waitFor () throws Exception {
198
195
return process .waitFor ();
199
196
}
200
197
};
@@ -205,6 +202,6 @@ public interface LocalProcess {
205
202
206
203
InputStream getErrorStream ();
207
204
208
- int waitFor () throws InterruptedException ;
205
+ int waitFor () throws Exception ;
209
206
}
210
207
}
You can’t perform that action at this time.
0 commit comments