Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could not run quit on child process despite calling quit #135

Open
drewstone opened this issue Nov 28, 2024 · 0 comments
Open

could not run quit on child process despite calling quit #135

drewstone opened this issue Nov 28, 2024 · 0 comments

Comments

@drewstone
Copy link

drewstone commented Nov 28, 2024

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 ... FAILED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant