mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-07-04 04:55:30 +02:00
feat(pty): parse env so it can be used with fork
Adds method to convert env from a Dictionary to a PackedStringArray so it can be used with fork(). Consider making env a PackedStringArray to begin with.
This commit is contained in:
parent
8cd11fdae6
commit
ee920a45fd
2 changed files with 14 additions and 1 deletions
|
@ -82,6 +82,7 @@ namespace godot
|
|||
|
||||
String _get_fork_file(const String &file) const;
|
||||
Dictionary _get_fork_env() const;
|
||||
PackedStringArray _parse_env(const Dictionary &env) const;
|
||||
void _on_exit(int exit_code, int exit_signal);
|
||||
void _close();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue