-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move release to Faktory Pro, prep for 091
- Loading branch information
Showing
5 changed files
with
18 additions
and
47 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package util | ||
|
||
import ( | ||
"os/exec" | ||
) | ||
|
||
func isTTY(fd int) bool { | ||
// this function controls if we output ANSI coloring to the terminal. | ||
// dunno how to do this on Windows so just play safe and assume it is not a TTY | ||
return false | ||
} | ||
|
||
func EnsureChildShutdown(cmd *exec.Cmd, sig int) { | ||
// This ensures that, on Linux, if Faktory panics, the child process will immediately | ||
// get a signal. Dunno if this is possible on Windows or how it will behave. | ||
} |