Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...These forums are an excellent source and example of the way people can help each other..."

Geography

Where in the world do Tek-Tips members come from?
rohitair (Programmer)
7 Nov 11 2:53
I am trying to run a script ,I am not able to run it and get output any sugsstions

=GET("SHL"," -CMD " +"/opt/ggol/wtx8/launcher_in/maps/monitor.sh -T")
 
eyetry (Programmer)
16 Nov 11 16:08
is this on unix?
 
rohitair (Programmer)
17 Nov 11 6:32
yes this is ion unix sunsolaris
eyetry (Programmer)
23 Nov 11 14:14
Have you tried using '-CL' or '-CLI' instead of '-CMD'?
rohitair (Programmer)
24 Nov 11 1:07
I tried both options as you suggested but exit call failed is the error I am gettin
eyetry (Programmer)
29 Nov 11 10:30
I wish I could help you more.  Unfortuantely we aren't using WTX in a unix environment...

shot in the dark.... try changing 'SHL' to BAT and see what happens.
 
rohitair (Programmer)
30 Nov 11 4:52
I tried BAT it didnot work same error exit call failed.
eyetry (Programmer)
30 Nov 11 10:35
Maybe this will help...

GET("SHL","-cli -cmd 'script.sh arg1 arg2'")
GET("SHL","-cli -cmd 'script.sh -ABC target_path/file '")

Note the case for CLI and CMD are lower...  Make sure you use them in lower tense.  I understand that Unix is case sensitive and all examples I saw had them in lowercase.

Good luck!
 
rohitair (Programmer)
1 Dec 11 3:00
I changed the mod to 777 and run using the command -cli -cmd it worked thanks eyetry

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close