Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Shell and wait while process is running

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-22-2008, 12:40 AM
Newbie
 
Join Date: Mar 2008
Posts: 1
Default Shell and wait while process is running

Hi, all.

I think Shell(cmd,arg) is just run 'cmd' value.

for example.

Shell("wceload.exe","some1.cab /noui")
Sleep(5000) ' <-- I don't want to sleeeep!!!
Shell("(Some SoftwareResetProgram)","")


I want to know run another application and wait while process is runnig.
Reply With Quote
  #2 (permalink)  
Old 03-22-2008, 07:27 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Next version will include more options for Shell (including waiting for the process to end).
Reply With Quote
  #3 (permalink)  
Old 03-22-2008, 09:48 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by g0dspeed View Post
I want to know run another application and wait while process is runnig.
The Process object in my Threading library can do this.
http://www.basic4ppc.com/forum/additional-libraries/1611-threading-library-optimising-compiler.html

But you will have to be a registered user to download it!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating process-real!!! Byak@ Code Samples & Tips 6 10-06-2008 01:59 PM
Process and Basic4ppc? Byak@ Questions (Windows Mobile) 3 07-22-2008 04:05 PM
Shell and wait Erel Code Samples & Tips 0 03-26-2008 03:14 PM
Shell tvrman Questions (Windows Mobile) 3 07-30-2007 01:20 PM
Wait cursor library agraham Code Samples & Tips 2 07-07-2007 02:49 PM


All times are GMT. The time now is 02:08 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0