Start UNIX Background Process from Windows

Start UNIX Background Process from Windows

A UCMD Manager job will not end until the remote process ends and all standard files are closed. If the remote process starts a child process, UCMD Manager also will wait until the child process ends and its standard I/O files are closed.

In order to start the process without waiting for the process to end and close its standard I/O files, start the process in the background using the nohup command and redirect standard out and error to /dev/null.

The command to start a process is issued with the UNIX nohup parameter. Any output is written to /dev/null which never is saved to disk or memory. The process will authenticate and run under the authority of userid joe.

Command Line Options

The command line options used in this example are:

Option

Description

-cmd

Remote command to execute.

-host

Directs the command to a computer with a host name of dallas.

-userid

Remote user ID with which to execute the command.

-pwd

Password for the user ID.

Components

Universal Command Manager for Windows