Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!news.cac.psu.edu!news.pop.psu.edu!hudson.lm.com!godot.cc.duq.edu!news.duke.edu!news.mathworks.com!uunet!in1.uu.net!esseye!dopey.si.com!tibbs
From: tibbs@dopey.si.com (Mike Tibbs)
Subject: How to call "system" using VW
Message-ID: <D6BDx3.MyD@esseye.si.com>
Sender: news@esseye.si.com
Nntp-Posting-Host: dopey.si.com
Organization: Smiths Industries
Date: Fri, 31 Mar 1995 17:00:39 GMT
Lines: 14

In UNIX, I need to be able to run existing programs (shell scripts,
c programs, perl scripts, etc) from VisualWorks.

In C, you can use the popen() function to run a shell command and read
it's standard output through the pipe into your program. Does VW
have a facility for this? How do you do it?

One problem I ran into once was with using Perl - it forked the system
process and the forked process did not have enough resources to run
the program. I don't want this to happen with VW.


== Mike Tibbs
== tibbs@dopey.si.com
