Blitz (76/119)

From:Steve Hargreaves
Date:20 Jun 2001 at 18:41:47
Subject:Running external programs

Hello again,

OK, I'm putting the finishing touches to a little (?!?) utility, which as a
matter of course hasto run external programs (either my own, or AmigaDOS
commands).

1) I've tried it two ways, opening an ARexx port and having the orig program
generate and run an Arexx script - Very clunky and untidy.

2) Writing a commandline to CON: and using the Execute_ command.

Option two is much cleaner and faster, but opens a CON: window on screen. I'd
like to acheive the same effect, but without the CON: window, but I'm stumped.

I need to be able to run an external program, and then, as I wish, either
continue executing the original program immediately, or optionally, wait for the
external program to return before continuing. I don't want to use any third
party hacks because I want my program to run on as wide a range of machines as
possible, without the need to install anything other than mine.

Do I have any options?

All the best

Steve.



// A1200 '060/50, OS3.1, 16+2Meg, HPDJ610C,
// Squirrel, Power CD, Dual Floppies (Ooer), NEC
\\// Multisync 2A, Logic 3 Speedmouse, Sega controller,
\/ 56k modem, and no hair.

ICQ 21361336
----------------------------------------------
Fools to the left of me, feeders to the right. I need a real job.
-- Londo

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie