mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
310 B
Go
12 lines
310 B
Go
package osutil
|
|
|
|
// Args returns the command-line arguments with platform-specific launcher details removed.
|
|
func Args() []string {
|
|
return args()
|
|
}
|
|
|
|
// Executable returns the path of the current executable, accounting for platform-specific launchers.
|
|
func Executable() (string, error) {
|
|
return executable()
|
|
}
|