Comments (8)
Thanks @danawoodman for the issue. Parallelshell should just pipe the output down without issue - so should support colour fine. What are you seeing, no colours or loads of gibberish? If no colours it could be some kind of colour detection from the program you're using - which we should be able to trick into showing colours. What program are you using that is not showing colours?
from parallelshell.
Thanks for the quick reply!
I'm seeing the following when running parrallelshell 'mocha'
:
...where as if I run Mocha directly I get:
I'm using iTerm2 to display the output.
from parallelshell.
Seems like mocha is checking tty.isatty(1) && tty.isatty(2)
in the base reporter. I believe we'd just need to trick it into believing that parallelshell's stdin and out are ttys.
from parallelshell.
@keithamus would using spawn
work instead of exec?
from parallelshell.
Deployed as v1.1.0
from parallelshell.
Yay! π
from parallelshell.
I'm now getting the following exception locally:
$ ./node_modules/parallelshell/index.js
./node_modules/parallelshell/index.js: line 1: use strict: command not found
./node_modules/parallelshell/index.js: line 2: syntax error near unexpected token `('
./node_modules/parallelshell/index.js: line 2: `var spawn = require('child_process').spawn;'
Any thoughts?
from parallelshell.
Nevermind, I was running it directly on the command line rather than running through Node
from parallelshell.
Related Issues (20)
- Why BrowserSync over Webpack-dev-server? HOT 1
- Issue with assigning variables HOT 5
- Feature request: Prefix output with (colored?) indicator of which process it came from HOT 1
- Suggestions for why parallelshell breaks node-notifier?
- Some output goes to the wrong terminal tab with two tabs open HOT 4
- Same argument passed to all shells? HOT 1
- Exit code is 0 when first command succeeds and second fails HOT 4
- fails on node8 HOT 3
- child_process throwing error ('"cwd" must be a string') HOT 24
- /usr/bin/env: βnode\rβ: No such file or directory ... HOT 9
- Allow 3.0 to be backwards compatible with < Node 8 HOT 6
- TypeError: "cwd" must be a string HOT 3
- New release? HOT 5
- Node 10.x version check fails HOT 9
- child_process throwing error ('"cwd" must be a string') HOT 2
- ERR_INVALID_ARG_TYPE error for Node v10.5.0 HOT 7
- The "options.cwd" property must be of type string. Received type function HOT 36
- Please do a release with the version check fork! HOT 7
- The "options.cwd" property must be of type string. Received type function HOT 1
- npm ERR! code ELIFECYCLE 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 parallelshell.