Size: 374
Comment:
|
← Revision 3 as of 2023-06-11 21:20:20 ⇥
Size: 787
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
The '''`HOST`''' command dispatches a command to the system shell. |
|
Line 9: | Line 11: |
== Host == To shell out a command to the host machine, try: |
== Usage == |
Line 19: | Line 19: |
Note that PSPP sets STDIN to `/dev/null`, and STDOUT and STDERR to PSPP's own output, for any `HOST` commands. ---- == Data Model == The `HOST` command executes immediately. Pending transformations are ''not'' executed and the active dataset is ''not'' read. ---- == See also == [[https://www.gnu.org/software/pspp/manual/html_node/HOST.html|PSPP manual for HOST]] |
SPSS Host
The HOST command dispatches a command to the system shell.
Contents
Usage
host commands=['move "C:\path\to\my file" .'].
Note that the Window's console, cmd, does not interpret single quotes ('). Tokens containing spaces (like file names) must be quoted using double quotes (").
Note that PSPP sets STDIN to /dev/null, and STDOUT and STDERR to PSPP's own output, for any HOST commands.
Data Model
The HOST command executes immediately. Pending transformations are not executed and the active dataset is not read.