Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel
Table of Contents

Start UNIX Background Process from Windows

Anchor
1136416
1136416
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.

Anchor
1136417
1136417
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.

Panel
ucmd -cmd "nohup startprocess > /dev/null 2>&1 &'" -host dallas -userid joe -pwd password

Anchor
1136436
1136436
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

Anchor
1136438
1136438
The command line options used in this example are:

Option

Description

-cmdRemote 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

Anchor
1136477
1136477
Universal Command Manager for Windows