eclipse plugin: allow the game to spawn the stdout.txt and stderr.txt...
...so we wait a bit.
This commit is contained in:
parent
51e3b8e3ac
commit
b862bb8024
1 changed files with 4 additions and 0 deletions
|
@ -78,6 +78,7 @@ public class ExternalToolInvoker
|
|||
Constants.IS_WINDOWS_MACHINE)
|
||||
{
|
||||
String wesnothParent = new File(arguments_.get(0)).getParent() + "/";
|
||||
Thread.sleep(100);
|
||||
stdoutReader = new FileReader(wesnothParent + "stdout.txt");
|
||||
stderrReader = new FileReader(wesnothParent + "stderr.txt");
|
||||
}
|
||||
|
@ -93,6 +94,9 @@ public class ExternalToolInvoker
|
|||
{
|
||||
Logger.getInstance().logException(e);
|
||||
}
|
||||
catch (InterruptedException e)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue