Skip to content

Windows issue with "Terminate batch job (Y/N)?" #610

Closed

Description

@sophiajt

If the external command gets in the "Terminate batch job (Y/N)?" state, this causes issue with rustyline.

We should try to avoid ever getting into this situation. There are some possible workarounds that could be explored:

https://superuser.com/questions/35698/how-to-supress-terminate-batch-job-y-n-confirmation/35741#35741

https://superuser.com/questions/35698/how-to-supress-terminate-batch-job-y-n-confirmation/498798#498798

Activity

  1. sophiajt commented on Sep 7, 2019

    @sophiajt
    ContributorAuthor

    This seems related to running through cmd via Exec::shell. If we don't do this, the problem goes away.

    Fixing this by running through Exec::cmd would mean we would cut off a way to call through us to cmd (removing abilities like set), but this is perhaps good and expected in the long term, as we'll have a crossplatform way of working with the environment.

  2. added a commit that references this issue on Sep 7, 2019
    cdb5da5
  3. sophiajt commented on Sep 8, 2019

    @sophiajt
    ContributorAuthor

    Should be fixed as part of #615

  4. added a commit that references this issue on Feb 7, 2022
  5. added a commit that references this issue on Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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