1.3.5 • Published 4 years ago

@sealsystems/determine-executable-version v1.3.5

Weekly downloads
16
License
MIT
Repository
github
Last release
4 years ago

@sealsystems/determine-executable-version

CircleCI

Calls an executable and returns the version information it writes to stdout.

Installation

$ npm install seal-determine-executable-version

Usage

const determineExecutableVersion = require('seal-determine-executable-version');
const options = {
  exeFile: '/bin/bash',
  maxBytes: 128,
  exeArguments: ['--version']
  };

const versionString = await determineExecutableVersion(options);

Parameters:

  • exeFile The full path to the executable file whose version shall be determined. Required option.
  • maxBytes The maximum number of bytes to return from the output; output which is longer is truncated. Default: 128
  • exeArguments The argument list to call the executable file with. Default: ['--version']
1.3.5

4 years ago

1.3.4

4 years ago

1.3.3

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago