Hi,
Is there an equivalent in RoR of the exec command in PHP ?
Thanks
Hi,
Is there an equivalent in RoR of the exec command in PHP ?
Thanks
Grégory Pardoen wrote:
Hi,
Is there an equivalent in RoR of the exec command in PHP ?
Thanks
system(“external_command”)
or
results = external_command
if you want an easy way to capture STDOUT from the command (those are
backquotes BTW).
–
Michael W.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs