Hi John,
you asked...
> Can you provide a real working example. I find the Synopsis of
> IPC::Run a little obscure.
It's expecting an arrayref in the first slot: here's a trivial,
but working, example.
---
#!/usr/bin/p
At 5:14 pm -0600 21/1/04, Ken Williams wrote:
I think IPC::Run can do this nicely, but I haven't exactly tested it:
use IPC::Run qw(run);
run('osascript', \$ass, \$asresult);
Can you provide a real working example. I find the Synopsis of
IPC::Run a little obscure.
Thanks.
JD
On Friday, January 16, 2004, at 06:56 PM, John Delacour wrote:
At 4:16 pm -0800 16/1/04, Chris Nandor wrote:
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (John
Delacour)
wrote:
$asresult = `osascript -e '$ass'`;
FWIW: this is a bit dangerous, and slow. You would need to make sure
the
s
At 12:56 am + 17/1/04, I wrote:
However the applet method is very fast. I need to work out the
semaphore bit because the Finder is too slow to update and you can't
rely on modification times.
I have now got the backgrounded applet and the perl subroutine
working predictably and consistent
At 4:16 pm -0800 16/1/04, Chris Nandor wrote:
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (John Delacour)
wrote:
$asresult = `osascript -e '$ass'`;
FWIW: this is a bit dangerous, and slow. You would need to make sure the
script did not contain any bad shell characters combined with a waywa
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (John Delacour)
wrote:
> $asresult = `osascript -e '$ass'`;
FWIW: this is a bit dangerous, and slow. You would need to make sure the
script did not contain any bad shell characters combined with a wayward '.
A far safer, and much faster (esp.
At 11:44 am -0600 16/1/04, Paul R Brown wrote:
I would like to be able to use bogofilter
directly from within Mail.app for a number of
reasons, and because AppleScript doesn't have a
concept of pipes (do shell script can't handle
input over 64kb), I'd like to find a solution to
run a call-bac
I would like to be able to use bogofilter directly from within Mail.app
for a number of reasons, and because AppleScript doesn't have a concept
of pipes (do shell script can't handle input over 64kb), I'd like to
find a solution to run a call-back from the command line of the form:
program a1