Application Developer Guide > Accessing the Operating System
  

Accessing the Operating System
 
This chapter discusses the methods for communicating with the operating system from PV-WAVE. The main topics include:
*Manipulating environment variables (UNIX/Windows)
*Using SPAWN to access the operating system
*Changing the current directory
The utility routines used to communicate with specific operating systems are summarized in Routines for Accessing the Operating System:
 
Table 1-1: Routines for Accessing the Operating System  
Method
UNIX
Win
Use
SPAWN
Yes
Yes
Lets you spawn a child process to execute commands. The output generated by the commands can be captured in a variable for later processing by PV-WAVE.
GETENV,
SETENV,
ENVIRONMENT
Yes
Yes
Manipulate environment variables.
SET_SYMBOL, GET_SYMBOL, DELETE_SYMBOL
No
No
Manipulate DCL interpreter symbols.
CD, PUSHD,
POPD, PRINTD
Yes
Yes
Let you change the current working directory.

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.