UNPKG
sherry-utils
Version:
latest (2.0.0-alpha.9)
next (2.0.0-alpha.8)
2.0.0-alpha.9
2.0.0-alpha.8
2.0.0-alpha.7
2.0.0-alpha.6
2.0.0-alpha.5
2.0.0-alpha.4
2.0.0-alpha.3
2.0.0-alpha.2
2.0.0-alpha.1
2.0.0-alpha.0
sherry-utils for Sherry
github.com/sherry/sherry/packages/sherry-utils
sherry/sherry
sherry-utils
/
lib
/
fork.js
9 lines
(7 loc)
•
212 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
const
{ fork } =
require
(
'child_process'
)
const
logger =
require
(
'./logger'
)
module
.
exports
=
(
...args
) =>
{
const
[command, options] = args logger.
debug
(command, options.
join
(
' '
))
return
fork
(...args) }