Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!cs.umn.edu!msi.umn.edu!noc.MR.NET!gacvx2.gac.edu!gacvx2.gac.edu!scott From: scott@mcs-server.gac.edu (Scott Hess) Newsgroups: comp.sys.next Subject: Re: system calls from objective-C Message-ID: Date: 22 Jun 91 02:40:58 GMT References: <1991Jun15.001049.23391@cs.mcgill.ca> <2192@kgw2.XETRON.COM> Organization: Gustavus Adolphus College Lines: 40 Nntp-Posting-Host: mcs-server.gac.edu In-reply-to: dennisg@kgw1.xetron.COM's message of 20 Jun 91 19:02:44 GMTLines: 40 In article <2192@kgw2.XETRON.COM> dennisg@kgw1.xetron.COM (Dennis Glatting) writes: the problem may be the application search path. the search path used by an application clicked via an icon is different then the search path you defined in your shell. there is a default which you can alter to modify the default search path. Sheesh, thanks! Here, I was looking for obscure causes for the problem, when this is a more likely excuse. I plead that I thought that was too obvious. This could bring in a whole slew of related circumstances. For instance, system(3) should use your default shell, so the ~/.cshrc (or ~/.profile) should be sourced. _But_, if you change the path in ~/.login for csh, that will change things. In the future, when people have problems similar to this, be sure to post a full list of symptoms. Obvious ones for this: The program you are trying to run. Whether it works when fully-specified (ie, /bin/date, instead of date). If it's not a standard program, whether it's interactive or not. [And I'm sure there's a couple more obvious ones I'm missing] [Why am I posting this to the net? Because, I've gotten a couple messages from people with similar problems lately, almost always saying "my program doesn't work when run from Workspace. Why not?" I can't operate from that set of data . . .] Later, -- scott hess scott@gac.edu Independent NeXT Developer Graduated GAC Undergrad! Note: I have moved home for a time. My email address will still be valid. Any SnailMail should be redirected, along with phone calls. At the least, my parents can tell you how to get hold of me, or forward any mail . . . Old: PO 829, GAC, St. Peter, MN 56082 (507) 933-8466 New: RR#4 Box 227 Pipestone, MN 56164 (507) 825-2788