Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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.

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

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

-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

Universal Command Manager for Windows
 

  • No labels