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.


Data Model

The HOST command executes immediately. Pending transformations are not executed and the active dataset is not read.


See also

PSPP manual for HOST


CategoryRicottone

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