We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
class Program { static void Spin(string line) { Spinner.Start(line, spinner => { spinner.Text = "Stage 2... "; Thread.Sleep(200); spinner.Fail("Something went wrong!"); }); } static void Main(string[] args) { string line; while ((line = Console.ReadLine()) != null) { Spin(line); } } }
echo hello | mono src/KurukuruPipe/bin/Debug/net47/KurukuruPipe.exe
⠋ Stage 2... ⠙ Stage 2... ⠹ Stage 2... ✖ Something went wrong!
The text was updated successfully, but these errors were encountered:
Hi, I tried to reproduce on Linux (Ubuntu 16.04) and Mono 5.4.1.6. But I couldn't reproduce it. What versions of Mono and OS are you running?
$ mono -V | head -1 Mono JIT compiler version 5.4.1.6 (tarball Wed Nov 8 20:37:08 UTC 2017) $ cat /etc/os-release | head -2 NAME="Ubuntu" VERSION="16.04.1 LTS (Xenial Xerus)" $ mono ConsoleApp1.exe | more Hello World! ✔ Hoge
Sorry, something went wrong.
I'm using mono 5.4.1.6 on Mac OS. It occur if using input pipe like below
❯ mono /Users/wk/Source/github/KurukuruPipe/src/KurukuruPipe/bin/Debug/net47/KurukuruPIpe.exe | more ✖ Something went wrong! ❯ echo hello | mono /Users/wk/Source/github/KurukuruPipe/src/KurukuruPipe/bin/Debug/net47/KurukuruPIpe.exe ⠋ Stage 2... ⠙ Stage 2... ⠹ Stage 2... ✖ Something went wrong! ❯ mono -V Mono JIT compiler version 5.4.1.6 (tarball Mon Dec 11 14:59:42 GMT 2017) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com TLS: normal SIGSEGV: altstack Notification: kqueue Architecture: amd64 Disabled: none Misc: softdebug LLVM: supported, not enabled. GC: sgen (concurrent by default)
No branches or pull requests
Pipe input
Result
The text was updated successfully, but these errors were encountered: