The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to Invoke html in ksh Script ali560045 Shell Programming and Scripting 4 11-29-2007 10:28 PM
Bourne: How to invoke an alias from within a shell script techshots Shell Programming and Scripting 2 06-03-2006 09:38 PM
invoke same script twice mpang_ Shell Programming and Scripting 2 04-05-2006 03:14 AM
Invoke java program in script mpang_ Shell Programming and Scripting 0 03-27-2006 07:05 PM
how to invoke shell script gopa_mani Shell Programming and Scripting 1 12-30-2005 08:43 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-19-2008
Registered User
 

Join Date: Dec 2007
Posts: 22
need to invoke a shell script from xml file.

hi all,
forgive me if this question is not relevant to this section.
i have a shell file that will automatically deploy the files that are necessary and will compile them. i need to automate this management process through cruise control, for this i need to know whether it is possible for me to inovke the shell script through that xml file ..
thanks in adavance
Reply With Quote
Forum Sponsor
  #2  
Old 05-19-2008
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,294
Not unless you have another script to extract the name of the script and run it.
There is no way, AFAIK, to invoke something directly from the command line that lives inside an xml file. Mainly because it has to be "decoded" or parsed out of xml.
Reply With Quote
  #3  
Old 05-19-2008
Moderator
 

Join Date: Dec 2003
Location: /dev/fl
Posts: 1,059
I did something like this a few years ago, but I had to write a custom C program
which used libxslt and libxml2 routines to extract the required command line and
then system() to execute the command.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 11:20 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0