Interface ISpawnedChild

{@link http://github.com/snbartell/node-spawn}

Index

Methods

Methods

public forever()

Convenience function. Overrides options.restarts to -1. Runs command indefinitely no matter the options passed into the constructor.

public kill()

Shut down the child and don't let it restart.

public once()

Convenience function. Overrides options. restarts to 0. Runs command exactly once no matter the options passed into the constructor.

public start()

Start the cmd with the options provided.