ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/AE/installer2/src/net/oni2/aeinstaller/backend/app_launcher/LongRunningExecution.java
Revision: 594
Committed: Tue Jan 1 19:27:17 2013 UTC (12 years, 11 months ago) by alloc
Content type: text/x-java
File size: 675 byte(s)
Log Message:
AEI2: .NET detection

File Contents

# Content
1 package net.oni2.aeinstaller.backend.app_launcher;
2
3 import java.io.IOException;
4
5 //TODO
6
7 /**
8 * @author Christian Illy
9 */
10 public 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 }