Free2Code
 
Time: 2008-12-04, 09:48pm
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: ? (767)
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.

icons