Skip to content

Conversation

@gorky
Copy link

@gorky gorky commented Oct 19, 2017

Fixes:

Enhancements

  • timeout: Allows a timeout to be set for when a process should be started/stopped
  • siphon: Some processes will react to stdout being closed as a "Stop/Terminate" signal. Setting this property will allow for the Spawn thread to continue running and pulling stdout after a "Ready Match". This is useful in case there are other long running processes being run/launched by Gradle.

Possible fixes for:
Process does not continue #29
#29
Spawn doesn't catch failed tasks
#8

Available to use for testing/etc from https://bintray.com/gorky/gradle-plugins/gradle-spawn-plugin.

Released under the original Apache 2.0 license.

Stephen Davidson added 7 commits October 18, 2017 18:05
Added timeout support for KillProcessTask.
Added hardKill for stuck processes.
Fixes for Thread hangs due to lack of input on SpawnTask.
Some languages (such as Golang) interpret the closing of STDOUT as "Shutdown".
This patch allows for that behaviour to be supported.
Handling for parsing/reading StdErr.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant