mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-12-02 23:21:06 +01:00
Try with a bit shorter process completed messages
This commit is contained in:
parent
bc96f71a2d
commit
11afe895e1
1 changed files with 3 additions and 3 deletions
|
|
@ -123,12 +123,12 @@ public final class TerminalSession extends TerminalOutput {
|
|||
String exitDescription = "\r\n[Process completed";
|
||||
if (exitCode > 0) {
|
||||
// Non-zero process exit.
|
||||
exitDescription += " with code " + exitCode;
|
||||
exitDescription += " (code " + exitCode + ")";
|
||||
} else if (exitCode < 0) {
|
||||
// Negated signal.
|
||||
exitDescription += " with signal " + (-exitCode);
|
||||
exitDescription += " (signal " + (-exitCode) + ")";
|
||||
}
|
||||
exitDescription += " - press Enter to close]";
|
||||
exitDescription += " - press Enter]";
|
||||
|
||||
byte[] bytesToWrite = exitDescription.getBytes(StandardCharsets.UTF_8);
|
||||
mEmulator.append(bytesToWrite, bytesToWrite.length);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue