Changeset 51
- Timestamp:
- Apr 19, 2021, 11:33:50 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rxutilex/trunk/rxutilex.txt
r48 r51 169 169 170 170 ------------------------------------------------------------------------- 171 Sys2Exec 172 171 Sys2Exec 172 173 173 Executes an external program and returns the process ID or termination 174 code. Wrapper to DosExecPgm(). Note that text mode programs requiring 175 user input cannot be started from a PM program using this function; 176 they can only be started from another text mode program (in which case 177 it is inadvisable to start them using any mode other than EXEC_SYNC). 178 179 REXX ARGUMENTS: 174 code. Wrapper to DosExecPgm. Note that there are limitations on the type 175 of program which can be started, depending on the calling program's type. 176 In particular, text mode (VIO) programs which expect input must not be 177 started from a graphical (PM) program. If it is necessary to start a VIO 178 program from a PM program using this function, it should be run detached 179 ('D' mode). 180 181 VIO programs requiring input can be started from other VIO programs, but it 182 generally advisable to use start them in wait ('W') mode. 183 184 185 REXX ARGUMENTS: 180 186 1. Name of executable program to run. (REQUIRED) 181 187 2. Argument string to pass to the called program. … … 184 190 'N' or 'A': Run the program in no-wait (asynchronous) mode (EXEC_ASYNC). 185 191 'D' or 'B': Run the program detached (EXEC_BACKGROUND). 186 187 REXX RETURN VALUE: 192 193 REXX RETURN VALUE: 188 194 If EXEC_SYNC mode was requested, returns the termination status (this is 189 195 _not_ the same as the return code) from the started program. Otherwise, … … 690 696 Sys2SetSize 691 697 692 Set the size of a file to a specific number of bytes; files larger than 698 Set the size of a file to a specific number of bytes; files larger than 693 699 2GB are supported (this function is a wrapper to DosSetFileSizeL). 694 700
Note:
See TracChangeset
for help on using the changeset viewer.