Manage processes with Rust?

Hello here !

I have to manage processes, like check if running, start some, stop some, etc. I would like to write one source code for GNU/Linux and Windows (and MAC ?). Can I achieve that with std::process ? Or another crate ?

More details : I've written an open source trsync software which synchronize one local folder with one remote "shared workspace" (of Tracim software). I want to write a desktop application to manage several folder synchronizations by spawning one trsync process by folder to synchronize. This why I want to manage (check if running, start some, stop some) processes.

Thanks !

Definitely. In fact, depending on your exact needs, you may not even need to write two different codes. std::process is itself cross-platform.

Okay, thanks for these information !

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.