Free2Code
The majority of forums are now only available as archives, which means posting/editing is disabled.

The Anything and Everything forum is still open.
 
Time: 2013-05-20, 06:24pm
UI
Subject: UI  ·  Posted: 2007-03-26, 04:19am
Rank: ? (1)
Member #: 29584
running Unix shell within UI

Can I get help pls, how do i implement UNIX shell to run within other appz?

Basically, I had created a console UI and I wanna get UNIX shell like bash to run within the it. how can I do it?

logg

 
  Reply to this ·  Post link ·  Top
Subject: Re: UI  ·  Posted: 2007-03-26, 10:09am
Rank: ? (768)
Member #: 11085
The easiest method would most likely be use of the system command on whatever entered. The problem with this is that system does not return the output of whatever it just ran, although, perhaps rewinding stdout to its last position and reading it in would solve that.

- relpats_eht
 
  Reply to this ·  Post link ·  Top

Pages: 1

Please login or register to post a reply.

Penguino AVR

Want to learn about robotics or microcontrollers?
Check out the Penguino AVR from our friends at
Icy Labs