Skip to content

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

@drewstone

Description

@drewstone

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions