Re: Opening Terminal App at path?
Re: Opening Terminal App at path?
- Subject: Re: Opening Terminal App at path?
- From: Tom Waters <email@hidden>
- Date: Wed, 27 Jun 2001 15:57:24 -0700
- (void)shellHere:(NSString *)path
{
id command = [NSString stringWithFormat: @"open -a Terminal '%@'",
path];
system([command fileSystemRepresentation]);
}
There's a bug in that if this code has to launch Terminal.app, you'll
get two windows, one where you want, and one where you'd normally end up
by launching it the normal way. Once it's already running, it works
like you'd expect.
On Wednesday, June 27, 2001, at 02:18 PM, Steve Gehrman wrote:
I heard there was a way to launch the Terminal Application and have it
open a window at a given path. Is this true? How is this done.
steve