Blitz (77/119)

From:Richard Brooklyn
Date:20 Jun 2001 at 18:50:22
Subject:Re: Running external programs

> 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.

Okay, try this:

Execute_ "ThisIsTheProgram >NIL:",0,0

The ">NIL:" bit is what should stop the CON: window appearing.

> 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.

See above. My program uses this and works fine, continues running. No
problems.

If you want to wait for it to finish, you might want to remove the ">NIL:"
bit, but then you will get the annoying CON: window again/

Hope this helps.

Regards



Richard Brooklyn
Author of Medication

Medication: A powerfull GUI for your Mediator.
Do you need Medication?
http://uk.aminet.net/~aminet/aminet/hard/misc/Medication.lha

Also, check out the Amiga-Mediator unoffical support page:
http://www.amiga-mediator.co.uk

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