MNKShellExec is a Go package developed by Minnek Digital Studio
that provides functions for executing system shell commands on various operating systems, including Windows and Unix-based systems.
- Detects and uses the appropriate system shell for the current operating system
- Executes shell commands and returns standard output, error output, and execution errors
- Real-time output streaming for live monitoring of command execution
- Optional output printing for convenience
go get github.com/minnek-digital-studio/mnk-shell-exec
import "github.com/minnek-digital-studio/mnk-shell-exec"
output := mnkShellExec.ExecuteCommand("ls", true)
outStr, errStr, err := mnkShellExec.OutLive("ping google.com")
This project is licensed under the MIT License. See the LICENSE file for details.
We welcome contributions! Please submit a pull request or create an issue if you find a bug or want to suggest a new feature.
Minnek Digital Studio
- Website: https://minnekdigital.com/
mnkShellExec v0.1.0