General programming

Moderators: None (Apply to moderate this forum)
Number of threads: 1642
Number of posts: 2791

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Continuously updating the state of a subprocess Posted by xqo on 31 Jul 2009 at 10:49 PM
I have written an emulated shell, it takes a command, executes it, waits for it to finish, and prints any output. This all works fine, however i want to be able to run applications with user-interfaces such as irssi; or anything really, like using a telnet-client. Obviously this won't work with the way the emulated shell works at the moment, and I am looking for ideas. I need a portable solution that works in at least both windows and any *nix-os.


This is my current code (Python): http://yabo.necrolounge.org/inhouse/py/xqo.py

... It's really a backdoor-shell, but it illustrates my problem just fine.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.