Provides utility methods to execute a command
- Source:
Methods
-
<static> buildSpawned(grunt, script, sources, options) → {ChildProcess}
-
Build and execute a child process using the spawn function
Parameters:
Name Type Description gruntObject the grunt context
scriptString the script to run
sourcesArray the list of sources files
optionsObject the list of cli flags
- Source:
Returns:
from the spawn
- Type
- ChildProcess
-
<static> lookup(grunt, base, extPath) → {String}
-
Lookup file or path into node modules
Parameters:
Name Type Description gruntObject the grunt context
baseString the file or path to lookup
extPathString | Array additionnal pathes to lookup
- Source:
Returns:
the first matching resolved path
- Type
- String