hostexec
BAP Online Manuals : Library
Reference : Library by Name
: hostexec
Previous: handle_value
Next: integer
BAP Online Manuals : Library Reference : Library by Name : hostexec
Previous: handle_value
Next: integer
Previous: handle_value
Next: integer
6.2.72. hostexec
executes a program on the host computer
SYNOPSIS
include 'iolib.h' hostexec(Command)
SYNTAX
hostexec(String) (i)
ARGUMENTS
string(String) (i) Host command string.
DESCRIPTION
This predicate executes the command given as argument on the host computer. The string may contain arguments to the target program. The execat implementation depends on the host server program:
WIO: The string is executed via 'WinExec', the program called must be a windows application or a DOS program called by its '.PIF' file.
Note: hostexec is not a portable solution, it is always server dependent.
EXAMPLE
hostexec("winhelp wio.hlp").
ERRORS
No runtime errors.
LAYERS
prolog-process, client-server, object
RELATED PREDICATES
BAP Online Manuals : Library Reference : Library by Name : hostexec
Previous: handle_value
Next: integer