File: run_cmd

package info (click to toggle)
pork 0.99.8.1-2
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 3,692 kB
  • ctags: 4,028
  • sloc: ansic: 34,985; sh: 3,677; perl: 931; makefile: 560
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