Documentation ¶
Overview ¶
Package system Date: 2023/7/11 18:28 Author: Amu Description:
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecCommand ¶
ExecCommand execute command, return the stdout and stderr string of command, and error if error occur param `command` is a complete command string, like, ls -a (linux), dir(windows), ping 127.0.0.1 in linux, use /bin/bash -c to execute command in windows, use powershell.exe to execute command
func GetOsBits ¶
func GetOsBits() int
GetOsBits return current os bits (32 or 64). Play: https://go.dev/play/p/ml-_XH3gJbW
func RemoveOsEnv ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.