Ray,

I've never heard of the NSH prompt, but you could try a filter with a run
process of

 

Cmd /c nsh < commandline

 

The cmd of course launches the command line, the /c tells it to run the
command then exit, the nsh is the command you want it to run, and the <
tells it to pipe the contents AFTER it into the input of the command.  You
could alternatively you could check into the docs to see what methods they
have for providing automated command prompts for scripting it..

 

From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Ray Gellenbeck
Sent: Friday, May 13, 2011 11:39 AM
To: [email protected]
Subject: Run Process command puzzle

 

** 

I have a puzzle I can't figure out, and the person I have working with me
from Remedy PS couldn't answer this either, so perhaps the community can.

 

I have a command that is normally run from the NSH prompt.

 

In other words, here is the scenario done manually.

 

Log into Windows server box.

run "CMD" to get a command prompt

type "NSH" to get the "%" prompt

type the following argument to launch a bladelogic job using an xml file and
the script on the desktop...

./deploy_vm.nsh "//192.168.2.71/Users/Administrator/Desktop/vgp.xml"
tdbtest-2

 

Okay, so if I have a filter (or active link, no preference)...how can I
launch that command using the Run Process action?

 

Presume I have the code installed on the same box as the remedy server.  I
can gladly copy the files to the root of C: if that eliminates a pathname
with spaces in it.

 

Thanks in advance!

 

Ray

_attend WWRUG11 www.wwrug.com ARSlist: "Where the Answers Are"_


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"

Reply via email to