Differences between revisions 1 and 2
Revision 1 as of 2023-01-13 21:32:05
Size: 374
Comment:
Revision 2 as of 2023-06-10 14:03:43
Size: 626
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.

----



== 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.


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.


See also

PSPP manual for HOST


CategoryRicottone

SPSS/Host (last edited 2023-06-11 21:20:20 by DominicRicottone)