Giter Club home page Giter Club logo

Comments (3)

matthewmccullough avatar matthewmccullough commented on September 24, 2024 6

Situation

There's a read -p 'Press any key to continue...' being given to the shell by Visual Studio, asking the user to signal if they want to continue so that the console window doesn't close right away.

Problem

This is not a cross-shell compatible way of prompting the user.

Complication

If the user has their system shell set to Zsh, this will fail with the read: -p no coprocess error message.

Action

I recommend something like printf 'Press any key to continue...';read ans

Verification

I've toggled my shell to Bash and the same flow causes no error message. I toggled back to Zsh as my default shell and was able to reproduce it. This was reproducible with Visual Studio for Mac 7.0 (build 3146).

from mac-samples.

olegoid avatar olegoid commented on September 24, 2024

Hello @jacqueline-homan, thanks for reporting this issue. We can no longer reproduce it with both headless builds and Xamarin Studio.

I'm closing this issue for now. Let us know if we missed some details.

from mac-samples.

tfoldi avatar tfoldi commented on September 24, 2024

My default shell is also zsh and this issue is pretty annoying, please fix it cc @olegoid

from mac-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.