Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
neoe committed Mar 1, 2023
1 parent 7cd7cd7 commit 82a274b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
Binary file modified dist/neoeedit.jar
Binary file not shown.
17 changes: 13 additions & 4 deletions src/neoe/ne/U.java
Original file line number Diff line number Diff line change
Expand Up @@ -780,10 +780,19 @@ public static void exec ( PlainPage pp , String cmd ) throws Exception {
String path = cmd . substring ( 1 , p1 ) . trim ( ) ;
dir = new File ( path ) ;
cmd = cmd . substring ( p1 + 1 ) . trim ( ) ;
} else if ( pp . workPath != null )
dir = new File ( pp . workPath ) ;
else
dir = new File ( "." ) ;
} else {
int p2 = cmd . indexOf ( ']' ) ; // "path] cmd"
if ( p2 > 0 ) {
String path = cmd . substring ( 0 , p2 ) . trim ( ) ;
dir = new File ( path ) ;
cmd = cmd . substring ( p2 + 1 ) . trim ( ) ;
} else {
if ( pp . workPath != null )
dir = new File ( pp . workPath ) ;
else
dir = new File ( "." ) ;
}
}
addCmdHistory ( cmd , dir . getAbsolutePath ( ) ) ;
Process proc = Runtime . getRuntime ( ) . exec ( splitCommand ( cmd ) , getEnv ( pp ) , dir ) ;
OutputStream out = null ; // proc . getOutputStream ( ) ;
Expand Down
2 changes: 1 addition & 1 deletion src/neoe/ne/Version.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package neoe . ne ;

public class Version {
public static final String REV = "v383rc5" . toString ( ) ; // β
public static final String REV = "v383" . toString ( ) ; // β
public static final String CONFIG_FN = "/data.py.ver42" . toString ( ) ;
}

0 comments on commit 82a274b

Please sign in to comment.