diff options
author | Martin Capitanio <capnm@capitanio.org> | 2024-02-10 10:25:02 +0100 |
---|---|---|
committer | Martin Capitanio <capnm@capitanio.org> | 2024-02-14 14:29:03 +0100 |
commit | 8e8f8e92fbc0cbdbacd976121f5db606c9bf6200 (patch) | |
tree | 24ee48c1bdd69115b98f9af3b8068a4938b9af64 /modules/gdscript/gdscript_function.cpp | |
parent | 907db8eebcecb97d527edcaff77a1c87a6c068f5 (diff) | |
download | redot-engine-8e8f8e92fbc0cbdbacd976121f5db606c9bf6200.tar.gz |
FileSystem dock: Fix open a terminal
The previous implementation of opening a terminal
in the FileSystem dock was causing errors due to the use
of a bash builtin command that does not work outside the shell.
This resulted in the following error messages:
ERROR: Could not create child process: command
at: execute (drivers/unix/os_unix.cpp:553)
ERROR: Could not create child process: command
at: execute (drivers/unix/os_unix.cpp:553)
...
To resolve this issue,
+ the command is now executed inside a bash shell,
+ if the `terminal_emulator_flags` editor option is empty,
the working directory for gnome-terminal and urxvt is now properly set.
Diffstat (limited to 'modules/gdscript/gdscript_function.cpp')
0 files changed, 0 insertions, 0 deletions