source: AE/installer2/src/net/oni2/aeinstaller/backend/app_launcher/LongRunningExecution.java@ 599

Last change on this file since 599 was 594, checked in by alloc, 12 years ago

AEI2: .NET detection

File size: 675 bytes
Line 
1package net.oni2.aeinstaller.backend.app_launcher;
2
3import java.io.IOException;
4
5//TODO
6
7/**
8 * @author Christian Illy
9 */
10public class LongRunningExecution implements Runnable {
11 private ProcessBuilder pb;
12
13 /**
14 * @param pb
15 * ProcessBuilder to use
16 */
17 public LongRunningExecution(ProcessBuilder pb) {
18 this.pb = pb;
19 }
20
21 @Override
22 public void run() {
23 try {
24 Process p = pb.start();
25 p.waitFor();
26// GameManager.getInstance().refreshInstalledInfo();
27 } catch (IOException e) {
28 // TODO Auto-generated catch block
29 e.printStackTrace();
30 } catch (InterruptedException e) {
31 // TODO Auto-generated catch block
32 e.printStackTrace();
33 }
34 }
35
36}
Note: See TracBrowser for help on using the repository browser.