From a17e702ebab0ac7241e7a1f84993bcae40195b19 Mon Sep 17 00:00:00 2001 From: joshua stein Date: Mon, 3 Feb 2020 20:42:46 -0600 Subject: [PATCH] Terminal: Don't set an initial command_to_execute Otherwise we end up executing "/bin/Shell -c /bin/Shell" on a normal launch. With a null command_to_execute, we'll just execute /bin/Shell --- Applications/Terminal/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/Terminal/main.cpp b/Applications/Terminal/main.cpp index b20830c994..ceec05a002 100644 --- a/Applications/Terminal/main.cpp +++ b/Applications/Terminal/main.cpp @@ -195,7 +195,7 @@ int main(int argc, char** argv) return 1; } - const char* command_to_execute = "/bin/Shell"; + const char* command_to_execute = nullptr; Core::ArgsParser args_parser; args_parser.add_option(command_to_execute, "Execute this command inside the terminal", nullptr, 'e', "command");