🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #1347

How to run a Command in a progam and wait until finish?

#1347
From: Phuoc
Date: Sun, 23 Sep 2007 13:58
16 lines
1185 bytes
I tried to google "ShellExecute wait" there are many different solutions  
suggested. They all look a bit complicated. Is there another command for  
this and can pause the main process?

thanks
Phuoc

-- 
===============================
I'm using BCB5 on XP Home
Technical Details
Message-ID: <op.ty303qdoewlac1@centrino>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b7bfc196b0d38789,start
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sun, 23 Sep 2007 23:58:27 +1000
Subject: How to run a Command in a progam and wait until finish?
From: Phuoc <xyz.home@xyz.huaonline.com.xyz>
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Content-Transfer-Encoding: Quoted-Printable
Message-ID: <op.ty303qdoewlac1@centrino>
User-Agent: Opera Mail/9.20 (Win32)
NNTP-Posting-Host: 122.148.157.161
X-Trace: newsgroups.borland.com 1190555870 122.148.157.161 (23 Sep 2007 06:57:50 -0700)
Lines: 16
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail