MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / run

Method run

utility/import_exporter.cpp:913–926  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

911 }
912
913 virtual void run(void *p_userdata) override {
914 if (process_id == -1) {
915 return;
916 }
917
918 while (OS::get_singleton()->is_process_running(process_id) && !is_cancelled) {
919 // we have to do continually read from the pipes or the process will hang
920 output += fa_stdout->get_as_text() + fa_stderr->get_as_text();
921 OS::get_singleton()->delay_usec(10000);
922 }
923 error_code = OS::get_singleton()->get_process_exit_code(process_id);
924 process_id = -1;
925 after_run();
926 }
927
928 virtual bool auto_close_progress_bar() override {
929 return true;

Callers

nothing calls this directly

Calls 1

get_as_textMethod · 0.80

Tested by

no test coverage detected