-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
Hello,
I'm having trouble shutting down the bash shell I've spawned after I'm done.
I'm shutting down the session using the following and I've tried various combinations of the 3 commands below without luck on this error.
println!("Project template ready");
session.send_control('c')?;
session.send_line("exit")?;
session.send_line("quit")?;And yet my logs show
Project template ready
Waiting for envio process to exit...
Envio process (PID: 39748) exited with code 1
thread 'envio_utils::project::tests::test_project_lifecycle' panicked at /Users/drew/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rexpect-0.6.0/src/session.rs:356:37:
could not run `quit` on child process
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
test envio_utils::project::tests::test_project_lifecycle ... FAILEDMetadata
Metadata
Assignees
Labels
No labels