UNPKG
haxec
Version:
latest (2.0.1)
2.0.1
2.0.0
1.1.1
1.1.0
Wrap a Node.js spawn() or exec() with before/after handlers
github.com/grantila/haxec
grantila/haxec
haxec
/
dist
/
lib
/
index.d.ts
8 lines
(7 loc)
•
230 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
export
interface
Options
{
beforeExit
?:
() =>
void
|
Promise
<
void
>;
env
?: { [
key
:
string
]:
string
|
undefined
; }; }
export
declare
function
run
(
wrapModule
:
string
,
cmd
:
Array
<
string
>,
options
?:
Options
):
void
;