mirror of
https://github.com/watchexec/watchexec.git
synced 2024-10-01 07:31:35 +02:00
commit
5bdd87dbf6
@ -216,7 +216,7 @@ async fn apply_outcome(
|
|||||||
.map_err(|_| RuntimeError::HandlerLockHeld("pre-spawn"))?
|
.map_err(|_| RuntimeError::HandlerLockHeld("pre-spawn"))?
|
||||||
.into_inner();
|
.into_inner();
|
||||||
|
|
||||||
trace!("spawing supervisor for command");
|
trace!("spawning supervisor for command");
|
||||||
let sup = Supervisor::spawn(
|
let sup = Supervisor::spawn(
|
||||||
errors_c.clone(),
|
errors_c.clone(),
|
||||||
events_c.clone(),
|
events_c.clone(),
|
||||||
|
@ -60,7 +60,7 @@ impl Supervisor {
|
|||||||
debug!(%grouped, ?command, "spawning command");
|
debug!(%grouped, ?command, "spawning command");
|
||||||
let (process, id) = if grouped {
|
let (process, id) = if grouped {
|
||||||
let proc = command.group_spawn().map_err(|err| RuntimeError::IoError {
|
let proc = command.group_spawn().map_err(|err| RuntimeError::IoError {
|
||||||
about: "spawing process group",
|
about: "spawning process group",
|
||||||
err,
|
err,
|
||||||
})?;
|
})?;
|
||||||
let id = proc.id().ok_or(RuntimeError::ProcessDeadOnArrival)?;
|
let id = proc.id().ok_or(RuntimeError::ProcessDeadOnArrival)?;
|
||||||
|
Loading…
Reference in New Issue
Block a user