![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: wait to DOS command finish Topic Summary: Run an DOS command and return when is done Created On: 20-Nov-2007 12:45 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
author: Marco Gomes <marco.gomes@edisoft.pt>
INPUT: command_p: DOS command to be executed service_p: Name of the windows service (can be retrieved from the services.exe) string pathOutputFile: (output file to be monitored, i use this to ensure that the file as contents) The use of the timeout it is to prevent an infinite loop.....it can be defined to be higher. Constraints: - If during the DOS command execution other call to the same service is made...this doesn't work! - Due to wmi limitations it is not possible to make sub queries, thats why i have the line commented!! I will appreciate comments and ways to make this function better!! Good luck! ![]() Edited: 20-Nov-2007 at 12:49 by Marco Gomes |
|
![]() |
|
![]() |
|
Hi Marco,
you may have a look here. There is another more simpler implementation of system command calling ![]() Greetings Reik ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|
![]() |
|
![]() |
|
Thankyou for the reply, it is more simple and safer!!!
Now i'm using the undocumented function win32SystemWait_ Marco |
|
![]() |
|
![]() |
|
Hello Mr Schroeder,
Can you please provide me with link for the "simpler implementation of system command calling" that you had posted in the thread..System Command The link provided by you does not exist now. Regards, Shyam ------------------------- Regards, Shyam |
|
![]() |
|
![]() |
|
Hi,
I think he's referencing this topic: Topic If not, just juse the search facilities ;-) Cheers, Frank ------------------------- Frank Jensen TRW Automotive frank.jensenREMOVE_ME@trw.com Edited: 18-Feb-2008 at 07:27 by Frank Jensen |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
wait to DOS command finish
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.