Skip to content

Commit

Permalink
readme.md: wrote about kill
Browse files Browse the repository at this point in the history
  • Loading branch information
hymkor committed Apr 14, 2021
1 parent 526c0b6 commit c11637d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ Expect for Windows Powered by GopherLua
- `send(S,MS)` waits MS [m-seconds] per 1-character (for plink.exe)
- `sendln()` is same as send() but append CR.
- `spawn()` starts applications and
- On success, it returns PROCESS-ID
- On success, it returns PROCESS-ID(integer)
- On failure, it returns nil
- `echo()` controls echoback
- `echo(true)`: echo on
- `echo(false)`: echo off
- `echo("...")`: print a string
- `arg[]` contains commandline arguments (`arg[0]` is scriptname)
- `kill(PROCESS-ID)` kills the process.

Sample
------
Expand Down

0 comments on commit c11637d

Please sign in to comment.