You've already forked AstralRinth
forked from didirus/AstralRinth
Child process manager api (#64)
* child process api * added hook to js * process API + restructured process state storage * formatting * added path-pid check and fixed probs * prettier * added profile checking function --------- Co-authored-by: Wyatt <wyatt@modrinth.com>
This commit is contained in:
@@ -66,13 +66,3 @@ export async function run(path, credentials) {
|
||||
export async function run_wait(path, credentials) {
|
||||
return await invoke('profile_run_wait', { path, credentials })
|
||||
}
|
||||
|
||||
// Tries to kill a running minecraft process (if PID is still stored)
|
||||
export async function kill(child_pid) {
|
||||
return await invoke('profile_kill', { child_pid })
|
||||
}
|
||||
|
||||
// Wait for a running minecraft process (a Child)
|
||||
export async function wait_for(child_pid) {
|
||||
return await invoke('profile_wait_for', { child_pid })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user