Comments (3)
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.
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.
My default shell is also zsh and this issue is pretty annoying, please fix it cc @olegoid
from mac-samples.
Related Issues (20)
- Help - NSMenuItem.SeparatorItem shows full height HOT 1
- Rework HttpWebRequest to not use MOBILE only API
- [XM]Various options of NSVisualEffectView gives a System.Exception while executing VisualEffectPlayground on Mojave HOT 3
- guiunit-example: Failed to create Test.app bundle HOT 1
- appcenter.ms support notification HOT 1
- NeHeLessons2 no rendering HOT 8
- invalidOperationException HOT 2
- Villian Tracker throws exception when running HOT 1
- Bssid = null since update to Catalina 10.15.4 HOT 4
- NSScrollExample (Xamarin documentation) does not work HOT 3
- MacXibless does not work perfectly HOT 2
- Small bug in ButtonMadness Xamarin sample
- Extend Xamarin.Mac - MacDialog sample by calling a dialog HOT 2
- DragAndDropExample Crashes on MacOS HOT 2
- Creating a custom view in XCode and then adding instances programmatically to my main application HOT 3
- Build failed: Undefined symbol error HOT 4
- Error opening FileCards.sln on Mac HOT 1
- please update the example to the new xamarin version HOT 2
- [CameraBrowser] Application incompatible with Ventura update HOT 6
- VisualEffectPlayground has missing close button on 10.14 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mac-samples.