The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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-30-2007 01:28 AM
Bourne: How to invoke an alias from within a shell script techshots Shell Programming and Scripting 2 06-04-2006 12:38 AM
invoke same script twice mpang_ Shell Programming and Scripting 2 04-05-2006 06:14 AM
Invoke java program in script mpang_ Shell Programming and Scripting 0 03-27-2006 10:05 PM
how to invoke shell script gopa_mani Shell Programming and Scripting 1 12-30-2005 11:43 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-19-2008
sais sais is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 36
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
  #2 (permalink)  
Old 05-19-2008
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,643
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.
  #3 (permalink)  
Old 05-19-2008
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2003
Location: Florida
Posts: 1,859
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.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 11:07 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0