1
0

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:
Wyatt Verchere
2023-04-05 10:07:59 -07:00
committed by GitHub
parent 8169d3ad49
commit d5505d3298
14 changed files with 574 additions and 97 deletions

View File

@@ -405,7 +405,7 @@ impl ProfileRun {
let proc_lock = profile::run(&path, &credentials).await?;
let mut proc = proc_lock.write().await;
profile::wait_for(&mut proc).await?;
process::wait_for(&mut proc).await?;
success!("Process exited successfully!");
Ok(())