# C programms with RoR

**URL:** <https://www.ruby-forum.com/t/c-programms-with-ror/107331>\
**Category:** Rails\
**Created:** [June 20, 2007, 4:26pm UTC](https://www.ruby-forum.com/t/c-programms-with-ror/107331 "2007-06-20T16:26:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Franz\_RSSSSmy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/b19c9b/32.png) [@Franz\_RSSSSmy](https://www.ruby-forum.com/u/Franz_RSSSSmy)\
**Post date:** [June 20, 2007, 4:26pm UTC](https://www.ruby-forum.com/t/c-programms-with-ror/107331/1 "2007-06-20T16:26:42Z")

</div>

Hello,

I had develop in an other project some C programms and now I’m  
developing a website in RoR. I want to have a page where I can upload  
files and with those files, execute my C programms (I made a bash script  
to execute these programs).

Did someone know how I can do that ??

I’m a newbe in RoR, so all the help you can provide me is welcome (and  
I’m french so excuse the english faults, if there are 🙂 ).

Thank’s

---

<div class="post-metadata">

**Author:** ![Franz\_RSSSSmy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/b19c9b/32.png) [@Franz\_RSSSSmy](https://www.ruby-forum.com/u/Franz_RSSSSmy)\
**Post date:** [June 20, 2007, 5:06pm UTC](https://www.ruby-forum.com/t/c-programms-with-ror/107331/2 "2007-06-20T17:06:54Z")

</div>

Franz Rémy wrote:

> I had develop in an other project some C programms and now I’m  
> developing a website in RoR. I want to have a page where I can upload  
> files and with those files, execute my C programms (I made a bash script  
> to execute these programs).
> 
> Did someone know how I can do that ??

result = `my_script.sh`

Note the back-ticks ``. They create a pipe.

–  
Phlip  
[Test Driven Ajax (on Rails) [Book]](http://www.oreilly.com/catalog/9780596510657/)  
“Test Driven Ajax (on Rails)”  
assert\_xpath, assert\_javascript, & assert\_ajax

---

<div class="post-metadata">

**Author:** ![Franz\_RSSSSmy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/b19c9b/32.png) [@Franz\_RSSSSmy](https://www.ruby-forum.com/u/Franz_RSSSSmy)\
**Post date:** [June 20, 2007, 5:34pm UTC](https://www.ruby-forum.com/t/c-programms-with-ror/107331/3 "2007-06-20T17:34:14Z")

</div>

Phlip wrote:

> result = `my_script.sh`
> 
> Note the back-ticks ``. They create a pipe.
> 
> –  
> Phlip  
> [Test Driven Ajax (on Rails) [Book]](http://www.oreilly.com/catalog/9780596510657/)  
> “Test Driven Ajax (on Rails)”  
> assert\_xpath, assert\_javascript, & assert\_ajax

Thank’s a lot, it works fine !
