I think in the past I used the open() command in "p" mode (pipe) in order
to execute a unix command and read its output. Also looks at the system()
function. The chapter 14 of the Unicon online manuscript should present
you different examples.

Federico


"With great powers come great responsibilities" - Spiderman

Federico Balbi
Division of Computer Science
University of Texas at San Antonio
6900 N. Loop 1604 West
San Antonio, TX 78249-0667

[EMAIL PROTECTED]
http://www.cs.utsa.edu/~fbalbi

On Wed, 7 Jul 2004, Nolan Clayton wrote:

> I would like to write a shell widget in Unicon.  If anyone has any
> suggestions on commmands or syntax please let me know.  Also, more
> importantly if anyone has written procedures in Icon/Unicon that preform
> or emulate shell commands or scripts and wouldn't mind sharing them :).
> Things like ls, grep, kill, touch, ... or whatever.
>       Thanks,
>            Nolan Clayton
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> digital self defense, top technical experts, no vendor pitches,
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> Unicon-group mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/unicon-group
>



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Unicon-group mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to