STAF does not currently provide Ruby APIs like it does for Java, C/C++, 
Perl, Python, and Tcl.  You can run a Ruby script on a local or remote 
machine via the STAF PROCESS service's START request (or via a <process> 
element in a STAX job), just like you do to run most any executable.  For 
example:

  STAF machine PROCESS START SHELL COMMAND "ruby test.rb" RETURNSTDOUT 
STDERRTOSTDOUT WAIT

You might want to check out a patch that someone contributed titled "STAF 
interface to Ruby" at 
http://sourceforge.net/tracker/index.php?func=detail&aid=643842&group_id=33142&atid=407383.
 
 

There already is an open feature request, "775040 Add support for Ruby 
scripts" at 
http://sourceforge.net/tracker/index.php?func=detail&aid=775040&group_id=33142&atid=407384.
 
 We haven't had time to implement it yet.  You may want to add a comment 
to it to say that you are also interested in this feature request.

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   [EMAIL PROTECTED]
(512) 286-7313 or Tieline 363-7313




"Ni Shenghua" <[EMAIL PROTECTED]> 
11/30/2008 07:31 PM

To
<[email protected]>
cc

Subject
[staf-users] Does STAF support for ruby?






Does STAF support for ruby?
 
Vicent Ni
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's 
challenge
Build the coolest Linux based applications with Moblin SDK & win great 
prizes
Grand prize is a trip for two to an Open Source event anywhere in the 
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
staf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/staf-users

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
staf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to