system commands

J

Jeffrey Bowen

Let me first apologize I asked this question last week
and lost the answer. How do I run Linux commands in
side a ruby program? I'll print it out this time.

Thanks
Jeff



____________________________________________________________________________________
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front
 
A

Aryk Grosz

I have a line like this:

response = `<some command>`

Why might it be that response is only NIL when that command is run
through a rake task initiated by cron? If i just run the rake task
normally it works fine.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,521
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top