LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-10-2005, 06:37 AM   #1
Genjix
Member
 
Registered: Oct 2003
Location: Pico
Distribution: SUSE 9.1
Posts: 83

Rep: Reputation: 15
writing gui wrappers for command line tools


say for instance i wanted to write a gui for something like telnet. Would I write to stdin, after calling exec on telnet?

Thanks
 
Old 01-10-2005, 06:56 AM   #2
darklogik_org
Member
 
Registered: Jan 2004
Distribution: freebsd 5.3, openbsd 3.6, slackware 10
Posts: 96

Rep: Reputation: 15
http://www.ecst.csuchico.edu/~beej/guide/ipc/

Specifically, look at fork() and pipes.
 
Old 01-10-2005, 10:25 AM   #3
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Debian, Mint, Puppy, Raspbian
Posts: 3,433

Rep: Reputation: 203Reputation: 203Reputation: 203
or, you could use tcl/TK and expect.
which is a combination purpose - built for such things.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ Interfacing with command line tools khermans Programming 2 04-14-2005 03:00 PM
Any command-line tools which can edit EXIF image data? neocookie Linux - Software 1 01-27-2005 12:23 PM
Command line tools to Find files with specific text naps Linux - Software 5 11-15-2004 05:46 AM
group command line tools m2azer Linux - General 4 10-31-2004 10:37 PM
how do I set a path for my java command line tools darkone66669 Linux - Newbie 1 04-19-2004 07:28 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration