MCPcopy Index your code
hub / github.com/code-scan/AutoSubtitles / GetShellType

Function GetShellType

pkg/ffmpeg.go:11–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9)
10
11func GetShellType() string {
12 var shell = os.Getenv("SHELL")
13 if shell == "" {
14 shell = "/bin/bash"
15 }
16 return shell
17}
18
19func Run(shell string) string {
20 var cmd *exec.Cmd

Callers 1

RunFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected