{"modulePath":"github.com/Github/git-lfs","version":"v1.5.6","isLatest":true,"isStandardLibrary":false,"goos":"linux","goarch":"amd64","docs":"# package subprocess\n\nPackage subprocess provides helper functions for forking new processes NOTE: Subject to change, do not rely on this package from outside git-lfs source\n\n## Functions\n\n```go\nfunc ExecCommand(name string, arg ...string) *exec.Cmd\n```\nExecCommand is a small platform specific wrapper around os/exec.Command\n\n```go\nfunc SimpleExec(name string, args ...string) (string, error)\n```\nSimpleExec is a small wrapper around os/exec.Command.\n\n## Types\n\n```go\ntype Tty struct {\n\t// contains filtered or unexported fields\n}\n```\nTty is a convenience wrapper to allow pseudo-TTYs on \\*nix systems, create with NewTty() Do not use any of the struct members directly, call the Stderr() and Stdout() methods Remember to call Close() when finished\n\n```go\nfunc NewTty(cmd *exec.Cmd) *Tty\n```\nNewTty creates a pseudo-TTY for a command and modifies it appropriately so the command thinks it's a real terminal\n\n```go\nfunc (t *Tty) Close()\n```\n\n```go\nfunc (t *Tty) Stderr() (io.ReadCloser, error)\n```\n\n```go\nfunc (t *Tty) Stdout() (io.ReadCloser, error)\n```\n\n","path":"github.com/Github/git-lfs/subprocess","name":"subprocess","synopsis":"Package subprocess provides helper functions for forking new processes NOTE: Subject to change, do not rely on this package from outside git-lfs source","isRedistributable":true}
