mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 20:45:14 +00:00
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
This commit is contained in:
parent
559a99c104
commit
a17e702eba
Notes:
sideshowbarker
2024-07-19 09:03:58 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue