Releases: hymkor/expect
Releases · hymkor/expect
v0.6.0
v0.5.0 (20210429)
- Implement Lua function: spawnctx()
- The new function
spawnctx
is the similar one withspawn
, but the process started by spawnctx is killed when Ctrl-C is pressed.
- The new function
- Lua関数 spawnctx を実装
- 新関数の
spawnctx
はspawn
と似ているが、起動されたプロセスは Ctrl-C が押された時に自動的に kill される
- 新関数の
v0.4.0 (20210415)
- Add a new function:
kill(PROCESS-ID)
spawn()
returns PROCESS-ID on success , or nil on failure. (It returned true or false before )- Remove
import "io/ioutil"
from the source file. - (#20)
-color=nerver
args and batch suport long lines with the caret (^
) (Thanks to @a690700752 )
- 新関数
kill (プロセスID)
を追加 spawn()
は成功時にプロセスID、失敗時に nil を返すようにした。(以前は true / false を返していた)- ソースから
import "io/ioutil"
を削除 - (#20) オプション
-color=nerver
とキャレット (^
) による長い行のサポート (Thanks to @a690700752 )
v0.3.3 (20191220)
- (#14) Fixed that
wRepeatCount
(the parameter for WriteConsoleInput) was not set 1 to send key-events.
By this bug, some console applications cound not recieve keys from expect.exe . (Thanks to @vctls )
- (#14) キーイベントを送信する際に、WriteConsoleInput's のパラメータ
wRepeatCount
に 1 をセットしていなかった不具合を修正した。この不具合のせいで、コンソールアプリケーションのいくつかが expect.exe からのキーを受信できていなかった。
v0.3.2 (20181218)
- Fix bug that scripts embeded in batchfile could not be executed sometimes
- バッチファイルに埋め込まれたスクリプトが時々実行できない不具合を修正した。
v0.3.1 (20180828)
- Rebuild with Go 1.11 (the files of the previous version are built with Go 1.10)
v0.3.0 (20180808)
v0.2.0 (20180807)
v0.1.1 (20170921)
-
Fix: runtime error: makeslice: len out of range #2
-
Source file are not modified. You have to update your local source of
go-getch
to include the change hymkor/go-getch@a82c486
v0.1.0 (20170627)
- colored
expect()
returns the number of found string- Add
echo()