pub async fn launch(options: &LaunchOptions, base_dir: &Path) -> Result<Child>Expand description
Launch Minecraft, returning the process handle.
stdout/stderr are inherited from the parent process. Use
launch_with_output or launch_with_channel to capture them instead.
The @argfile written into .minecraft/ is deleted a few seconds after the
JVM starts, so the caller must stay alive at least that long for the cleanup
to happen.