0.0.8 • Published 3 years ago

spawn-await v0.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

spawn-await

spawn-await is synchronous module and will block the Node.js event loop, pausing execution of any additional code until the spawned process exits.

NOTE: don't need to await for using spawn

import {Spawn} from 'spawn-await'; 
  
const firstCommand = "ls"; // write your command
const {stdout, stderr, status } = Spawn(firstCommand);

Returns: \<Object>

  • stdout The contents of output.
  • stderr The contents of output.
  • status | The exit code of the subprocess, or null if the subprocess terminated due to a signal.
0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago