Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[opcode docs] harmonize header levels
  • Loading branch information
moritz committed Oct 13, 2013
1 parent 50407c1 commit 67d8988
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/ops.markdown
Expand Up @@ -867,21 +867,21 @@ Output the given object to the filehandle.

# External command Opcodes

# shell1
## shell1
_Deprecated: use shell3_
* `shell1(str $cmd)`

Same as `shell3`, using the current directory and an empty environment.

# shell3
## shell3
* `shell3(str $cmd, str $path, %env)`

Using $path as the working directory, execute the given command using the
specified environment variables. Returns a POSIX-style return value. Command
is executed using an OS-appropriate shell (`sh -c` or `cmd /c`). Blocks
until command is complete.

# spawn
## spawn
* `spawn(@cmd, str $path, %env)`

Using $path as the working directory, execute the given command using the
Expand Down

0 comments on commit 67d8988

Please sign in to comment.