executables
checkForBinaryWithCancel
Check for the existence of a binary
Usage
import { checkForBinaryWithCancel } from 'bloodline'
import { fork } from 'fluture'
fork(console.warn)(console.log)(
checkForBinaryWithCancel(
cancellationFn,
'gvpr',
['-V'],
''
)
)
checkForBinaries
Check for multiple binaries in a single call
Usage
import { checkForBinaries } from 'bloodline'
import { fork } from 'fluture'
fork(console.warn)(console.log)(
checkForBinaries(
cancellationFn,
'/usr/bin',
{ gvpr: ['-V'], dot: ['-V'] }
)
)