Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

binjumper

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

binjumper

A library for creating a jumper file to start an executable with extra arguments - symlinks with arguments

  • 0.1.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

binjumper

A library for creating a jumper file to start an executable with extra arguments - symlinks with arguments

Install

yarn add binjumper

Why

Sometimes you need to create an executable symlink with additional arguments so you create a .cmd file that runs the executable with the additional arguments. This works perfectly fine for running the thing, but as soon as you need to cancel the script (ctrl + C) you'll start getting Terminate batch job (Y/N)? prompts from cmd. These are impossible to disable so when you have more of these spawning eachother you'll get something like this:

$ yarn command-using-npm-binaries
^C
Terminate batch job (Y/N)? y
Terminate batch job (Y/N)? y
Terminate batch job (Y/N)? y
Terminate batch job (Y/N)? y
$

This library works around that issue using a native executable (.exe) to perform the spawn on Windows, Unix doesn't have this problem so there a simple bash script is used.

Example

See the examples directory

License

This project is licensed under the terms of the MIT license.

Keywords

FAQs

Package last updated on 06 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc