並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 1 件 / 1件

新着順 人気順

ptyの検索結果1 - 1 件 / 1件

タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。

ptyに関するエントリは1件あります。 golang が関連タグです。 人気エントリには 『GitHub - creack/pty: PTY interface for Go』があります。
  • GitHub - creack/pty: PTY interface for Go

    package main import ( "io" "log" "os" "os/exec" "os/signal" "syscall" "github.com/creack/pty" "golang.org/x/term" ) func test() error { // Create arbitrary command. c := exec.Command("bash") // Start the command with a pty. ptmx, err := pty.Start(c) if err != nil { return err } // Make sure to close the pty at the end. defer func() { _ = ptmx.Close() }() // Best effort. // Handle pty size. ch := m

      GitHub - creack/pty: PTY interface for Go
    1

    新着記事