mafintosh / benny-hill Goto Github PK
View Code? Open in Web Editor NEWPlay the Benny Hill theme while running another command
License: MIT License
Play the Benny Hill theme while running another command
License: MIT License
You could add such a notice for users running Debian (or Ubuntu-based) distros:
To install the play
command, with mp3 support, run:
$ sudo apt-get install sox libsox-fmt-mp3
Otherwise,
Great, little command ๐ ๐
Fails with
$ benny-hill
events.js:160
throw er; // Unhandled 'error' event
^
Error: spawn play ENOENT
at exports._errnoException (util.js:1007:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:182:32)
at onErrorNT (internal/child_process.js:348:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
at Function.Module.runMain (module.js:577:11)
at startup (node.js:160:18)
at node.js:456:3
e.g. benny-hill -i my-great.mp3 make install
If the sub process terminates with anything other than a zero exit code, the music keeps playing and the benny-hill process terminates with a one exit code.
I tried this on short processes first such as the ones mentioned in the README, but then I went ahead and just did benny-hilll yaourt -Sayu
to update my whole system, and the music stopped after a few minutes.
events.js:167
throw er; // Unhandled 'error' event
^
Error: spawn bubu ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:229:19)
at onErrorNT (internal/child_process.js:406:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
at startup (internal/bootstrap/node.js:236:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:560:3)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:235:12)
at onErrorNT (internal/child_process.js:406:16)
[... lines matching original stack trace ...]
at bootstrapNodeJSCore (internal/bootstrap/node.js:560:3)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.