mirror of
https://github.com/yudai/gotty.git
synced 2025-12-29 05:38:49 +01:00
19 lines
230 B
Go
19 lines
230 B
Go
package main
|
|
|
|
import (
|
|
"github.com/kernel-punk/gotty/gottyLib"
|
|
"log"
|
|
)
|
|
|
|
func main() {
|
|
|
|
if err := gottyLib.Run(gottyLib.RunParameters{
|
|
|
|
Cmd: "htop",
|
|
Args: []string{},
|
|
Ssl: false,
|
|
}); err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
|
|
}
|