executes a program on the host computer
include 'iolib.h' hostexec(Command)
hostexec(String) (i)
string(String) (i) Host command string.
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.
hostexec("winhelp wio.hlp").
No runtime errors.
prolog-process, client-server, object