sessions : am sessions --resume <id> (issue #32) - relance en arriere-plan avec les arguments et le cwd d'origine, cwd optionnel dans spawn_background, gardes running/repl/erreurs claires
This commit is contained in:
@@ -31,6 +31,7 @@ fn spawn_detect_stop_cycle() {
|
||||
std::path::Path::new(prog),
|
||||
&args,
|
||||
&env,
|
||||
None,
|
||||
)
|
||||
.unwrap();
|
||||
assert!(pid > 0);
|
||||
@@ -57,6 +58,7 @@ fn spawning_a_failing_program_reports_an_error() {
|
||||
std::path::Path::new(prog),
|
||||
&args,
|
||||
&env,
|
||||
None,
|
||||
)
|
||||
.unwrap_err();
|
||||
assert!(
|
||||
|
||||
Reference in New Issue
Block a user