Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
11
func
GetShellType() string {
12
var
shell = os.Getenv(
"SHELL"
)
13
if
shell ==
""
{
14
shell =
"/bin/bash"
15
}
16
return
shell
17
}
18
19
func
Run(shell string) string {
20
var
cmd *exec.Cmd
Callers
1
Run
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected