Improve documentation for OS.read_string_from_stdin()

This makes it clearer that calls to this method are blocking.

The unused method parameter was also removed.
This commit is contained in:
Hugo Locurcio
2022-12-29 21:06:11 +01:00
parent a754930918
commit 86b8176864
10 changed files with 19 additions and 26 deletions

View File

@ -173,7 +173,7 @@ public:
String get_system_font_path(const String &p_font_name, int p_weight = 400, int p_stretch = 100, bool p_italic = false) const;
Vector<String> get_system_font_path_for_text(const String &p_font_name, const String &p_text, const String &p_locale = String(), const String &p_script = String(), int p_weight = 400, int p_stretch = 100, bool p_italic = false) const;
String get_executable_path() const;
String read_string_from_stdin(bool p_block = true);
String read_string_from_stdin();
int execute(const String &p_path, const Vector<String> &p_arguments, Array r_output = Array(), bool p_read_stderr = false, bool p_open_console = false);
int create_process(const String &p_path, const Vector<String> &p_arguments, bool p_open_console = false);
int create_instance(const Vector<String> &p_arguments);