Browse Source
Update spawn.rs
Co-authored-by: Philipp Oppermann <dev@phil-opp.com>
tags/v0.3.7rc2
Haixuan Xavier Tao
GitHub
1 year ago
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
binaries/daemon/src/spawn.rs
|
|
|
@@ -154,7 +154,7 @@ pub async fn spawn_node( |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// Set the process group to 0 to ensure that the spawned process does not spawn immediately on CTRL-C |
|
|
|
// Set the process group to 0 to ensure that the spawned process does not exit immediately on CTRL-C |
|
|
|
#[cfg(unix)] |
|
|
|
command.process_group(0); |
|
|
|
|
|
|
|
|