Skip to content


Browse files Browse the repository at this point in the history
shell - returning back on initial shell location after 'app run' exec…

Particularly when we move to cached apps or srv directories during module descriptor resolution.
  • Loading branch information
fcamblor committed Sep 9, 2017
1 parent dca208d commit 85539e4
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -607,6 +607,7 @@ public RunAppCommandRunner(List<String> args) {

public void run(final RestxShell shell) throws Exception {
Path shellInitialLocation = shell.currentLocation();
if(appNameArg.isPresent()) {;
Expand Down Expand Up @@ -691,6 +692,9 @@ public void run(final RestxShell shell) throws Exception {
new ShellAppRunner(appSettings, appClassName, compileMode, quiet, daemon, vmOptions)

// Moving back to initial location in case we either moved in cached apps or srv directory;

private Optional<String> guessAppClassnameFromRestxModule(RestxShell shell) throws IOException {
Expand Down

0 comments on commit 85539e4

Please sign in to comment.