Skip to content

Commit 014fc00

Browse files
committed
readme tweaks
1 parent 231eb46 commit 014fc00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
This a tiny library, intended to be used with OpenResty applications, when
44
you need to execute a subprocess (or shell command). It works similar to
5-
*os.execute* and *io.popen*, except that it is completely non-blocking, and
5+
**os.execute** and **io.popen**, except that it is completely non-blocking, and
66
therefore is safe to use even for commands that take long time to complete.
77

88
The library depends on a daemon component that you would need to run
9-
on your webserver - sockproc. The basic idea is that the shell library
9+
on your webserver - **sockproc**. The basic idea is that the shell library
1010
connects to the unix domain socket of sockproc daemon, sends the command
1111
along with any input data that the child program is expecting, and then
1212
reads back the exit code, output stream data, and error stream data of
@@ -25,7 +25,7 @@ Make sure to have sockproc running and listenning on a UNIX domain socket:
2525

2626
In your OpenResty config:
2727

28-
location /test_me {
28+
location /test {
2929
content_by_lua '
3030
local shell = require("resty.shell")
3131
local status, out, err = shell.execute("uname -a")

0 commit comments

Comments
 (0)