File: run_cmd

package info (click to toggle)
pork 0.99.7-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,396 kB
  • ctags: 3,949
  • sloc: ansic: 34,135; sh: 3,392; perl: 797; makefile: 535
file content (11 lines) | stat: -rw-r--r-- 263 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
SYNTAX: PORK::run_cmd(cmd1,...,cmdN)
	Runs the list of commands as if entered from the input line.

INPUT PARAMETERS
	cmd1: Command to run. The command must not be prefixed with a '/'. 

RETURN VALUE
	Returns 0 on success and -1 on failure.

SEE ALSO
	input send