Edit of asset "Better Processes" Accepted
Old/Current | New/Edit | |
---|---|---|
Title | Better Processes | Godot Process Manager |
Description |
OS.execute() lets you get the output, but it blocks the thread. OS.create_process() kicks off a process in the background, but drops the output. Better Processes lets you interactively create a background process. It's built in Rust. Compiles to GDExtention. You won't have to worry about that. Add a ProcessNode. Connect the stdout/stderr signals. Set the cmd,args, start_on_ready (or run "start" as needed) if you need it. If the process is still running when this node is deleted, it will close the child process. Or create a Process object and call `start(cmd,args)`. You'll have to explicitly call `read_stdout()` and `read_stderr`. However the advantage is that when the last reference goes out of scope, it closes the child process. Note: Due to GodotRust's current strictness, you must use the correct type args, no implicit typing. For example: `myProcess.start("ping",["google.com"] as PackedStringArray)` The `as PackedStringArray` is important here. |
OS.execute() lets you get the output, but it blocks the thread. OS.create_process() kicks off a process in the background, but drops the output. Godot Process Manager lets you interactively create a background process. It's built in Rust. Compiles to GDExtention. You won't have to worry about that. Add a ProcessManager node. Connect the stdout/stderr signals. Set the cmd,args, start_on_ready (or run "start" as needed) if you need it. |
Category | Tools | Tools |
License | MPL-2.0 | MPL-2.0 |
Repository Provider | Custom | GitHub |
Repository Url | https://gitlab.com/greenfox/better-process-manager | https://github.com/greenfox1505/GodotProcessManager |
Issues Url | https://gitlab.com/greenfox/better-process-manager/ | https://github.com/greenfox1505/GodotProcessManager/issues |
Godot version | Godot 4.1 | Godot 4.0 |
Version String | 0.5.0 | 0.1.0 |
Download Commit | https://greenfox.gitlab.io/better-processes/addons.zip | c1763a3e83de83d57801c4db363ae764bbb927bd |
Download Url (Computed) | https://greenfox.gitlab.io/better-processes/addons.zip | https://github.com/greenfox1505/GodotProcessManager/archive/c1763a3e83de83d57801c4db363ae764bbb927bd.zip |
Icon Url |
https://gitlab.com/greenfox/better-process-manager/-/raw/main/icon.png
|
https://cdn.discordapp.com/attachments/807363654604816394/1104253315233087599/image.png
|