diff --git a/core/src/main/java/io/xpipe/core/process/CommandControl.java b/core/src/main/java/io/xpipe/core/process/CommandControl.java index c9cf8fa9..e393553b 100644 --- a/core/src/main/java/io/xpipe/core/process/CommandControl.java +++ b/core/src/main/java/io/xpipe/core/process/CommandControl.java @@ -15,6 +15,7 @@ public interface CommandControl extends ProcessControl { int UNASSIGNED_EXIT_CODE = -1; int EXIT_TIMEOUT_EXIT_CODE = -2; int START_FAILED_EXIT_CODE = -3; + int INTERNAL_ERROR_EXIT_CODE = -4; enum TerminalExitMode { KEEP_OPEN, diff --git a/core/src/main/java/io/xpipe/core/process/ProcessOutputException.java b/core/src/main/java/io/xpipe/core/process/ProcessOutputException.java index 9966b807..c4e49889 100644 --- a/core/src/main/java/io/xpipe/core/process/ProcessOutputException.java +++ b/core/src/main/java/io/xpipe/core/process/ProcessOutputException.java @@ -29,6 +29,7 @@ public class ProcessOutputException extends Exception { + errorSuffix; case CommandControl.EXIT_TIMEOUT_EXIT_CODE -> "Wait for process exit timed out" + errorSuffix; case CommandControl.UNASSIGNED_EXIT_CODE -> "Process exited with unknown state. Did an external process interfere?" + errorSuffix; + case CommandControl.INTERNAL_ERROR_EXIT_CODE -> "Process execution failed" + errorSuffix; default -> "Process returned exit code " + exitCode + errorSuffix; }; return new ProcessOutputException(message, exitCode, combinedError); diff --git a/get-xpipe.sh b/get-xpipe.sh index a597f7b1..89b4db55 100755 --- a/get-xpipe.sh +++ b/get-xpipe.sh @@ -250,6 +250,7 @@ if [ "$exit_status" != 0 ]; then exit "$exit_status" fi +echo "" printf "XPipe was successfully installed. You should be able to find XPipe in your desktop environment now. The " bold "xpipe" printf " cli executable was also added to your path. You can ether use " @@ -257,5 +258,6 @@ bold "man xpipe" printf " or " bold "xpipe --help" printf " for help.\n" +echo "" launch \ No newline at end of file