Skip to content

Commit

Permalink
changed default temp directory behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
njdbickhart committed Jun 8, 2015
1 parent 419fddc commit e1b2194
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 1 addition & 3 deletions src/workers/MrsFastExecutable.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ public String call() throws Exception {
//out.write(line);
//out.newLine();
log.log(Level.INFO, rg + "> " + line);
if(p.getInputStream().available() == 0){
break;
}

}
} catch (IOException ex) {
log.log(Level.SEVERE, "[MRSFASTEX] Issue with STDIN stream!", ex);
Expand Down
3 changes: 3 additions & 0 deletions src/workers/RPSRmain.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ public static void main(String[] args) {
boolean debug = cmd.GetValue("debug").equals("true");
setFileHandler(cmd.CurrentMode, args, debug);
log.log(Level.INFO, "[MAIN] RAPTR-SV version: " + version);
String workingDir = System.getProperty("user.dir");
log.log(Level.FINE, "[MAIN] Current working directory: " + workingDir);
System.setProperty("java.io.tmpdir", workingDir);

if(cmd.HasOpt("p")){
System.setProperty("java.io.tmpdir", cmd.GetValue("p"));
Expand Down
Binary file modified store/RAPTR-SV.jar
Binary file not shown.

0 comments on commit e1b2194

Please sign in to comment.