Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Terminate dos program started with run
Message
From
06/04/2001 01:30:17
 
 
To
05/04/2001 18:26:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00492580
Message ID:
00492675
Views:
11
Hi Karl,

Look into Ed Rauh's API_APPRUN classlib here in the Files section off of the Forum main page. The process class therein allows you to manage DOS apps, including the run window size and a number of other features.

>I have a small dos program that's started with the command: RUN /N2 fubar.exe
>
>Later on, I need to terminate this program. It's not a particularly nicely behaved program, the only way to kill it from the terminal is to chose the close window icon and answer yes to the question, "do you want to terminate this application?"
>
>How do I terminate this program without the user's input?
>
>Karl
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform