title: issue on Glade Gui
body: <p>I'm trying to work on glade Gui and I have used some Gui buttons like <code>button1</code> and <code>button2</code>. Actually, my basic task is to capture the live video. For this, I used this command when i press gui button1 this command should work-> <code>system("avconv -f video4linux2 -r 10 -s 1280x768 -i /dev/video0 -y record.avi");</code> and this is in looping (continuously running) in command line. In the running task one option is there to stop the recording. For example, <code>to stop recording press q</code>. if I press <code>q</code> from the keyboard it is working fine, through program if I press gui <code>button2</code> with <code>system("q");</code> it is not working its showing like </p>
  
  <blockquote>
    <p>sh:1 q: not found</p>
  </blockquote>
  
  <p>I am not able to stop the running task(video recording) through the program. pls, do help me how can I do this task. I am struggling from past 2to3 days.
  I am using the thread concept.</p>
  
  <p>your help will be highly appreciated!
  thank u
  Ramesh</p>
  
  <p>this is how running in command line continuosly:</p>
  
  <blockquote>
    <p>Stream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))<br>
    Press [q] to stop, [?] for help frame=   63 fps= 10 q=3.3 Lsize=<br>
    237kB time=00:00:06.30 bitrate= 308.8kbits/s speed=1.01x</p>
  </blockquote>