| |
|
|
Jac de Lad | i'd gladly my Parser available to put, aberich Have only one (veraltetes) example moreover. be now not in the site there yet on The speedy what from the ground To stomp. |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 10/08/06 ▲ |
|
|
|
|
Jac de Lad | i would like to have whom commands Getrusage back, i don't know, whether the with API emulate can and stops it for relatively important. |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 09/18/07 ▲ |
|
|
|
|
| Gugma - is already older but I my its to that functions überredbar: CompileMarkSeparation
Proc shellwait
Parameters fle$
Declare h&,cmd#,runnfo#,proxnfo#
fle$:=shortname$(fle$)
h&:=0
if (fileexists(fle$))
Dim cmd#,Add(Len(fle$),1);Dim proxnfo#,16;Dim runnfo#,68
Clear runnfo#,proxnfo#;Long runnfo#,0=68;String cmd#,0=fle$
if (external(KERNEL32,CreateProcessA,0,cmd#,0,0,0,0,0,0,runnfo#,proxnfo#))
h&=Long(proxnfo#,0)
clear proxnfo#;external(KERNEL32,GetExitCodeProcess,h&,proxnfo#)
while (long(proxnfo#,0))
settimer 100;waitinput;killtimer
clear proxnfo#;external(KERNEL32,GetExitCodeProcess,h&,proxnfo#)
wend
endif
Dispose cmd#
Dispose runnfo#
Dispose proxnfo#
endif
Return if(h&>0,1,0)
ENDPROC
Hierbei look I simply by GetExitCodeProcess - and were such a long time. |
|
|
| |
|
|
|
Jac de Lad | is the sure? if so, can Roland the Perhaps profanintern install, damits faster becomes (only The request the ExitCodes). |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 09/18/07 ▲ |
|
|
|
|
| I mean this is sure. |
|
|
| |
|
|
|
Sebastian König | objectively can too simply the lever the begot Prozesses directly on WaitForSingleObject() transfer... |
|
|
| Windows XP, XProfan/Profan² 4.5 bis 11 Profan2Cpp-Homepage: [...] Alte Profan²-Seite: [...] | 09/18/07 ▲ |
|
|
|
|
| I give To, og code is bad. this was to that testing there. The hint with WaitForSingleObject is naturally class! |
|
|
| |
|
|
|
Sebastian König | another faster Nachtrag: around the Window the wartenden application not freeze To let (if The Wartezeit for long enough his can) ought to one evtl. rather MsgWaitMultipleObjects() use, where then the appeal unfortunately not any more so beautiful simply is... |
|
|
| Windows XP, XProfan/Profan² 4.5 bis 11 Profan2Cpp-Homepage: [...] Alte Profan²-Seite: [...] | 09/18/07 ▲ |
|
|
|
|
Jac de Lad | to that example, if one during the aufgerufene Prog werkelt not waiten wants, but what other make wants or if the aufgerufene Prog only a defined Time active his should and with Zeitüberschreitung downed go should or... |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 09/18/07 ▲ |
|
|
|
|
Jörg Sellmeyer | RGH
... and what speaks against whom employment the for derartige tack introduced XProfan-function WinExecWait?
Greeting Roland
Perhaps The fact, that Profan then really wait and To nothing moreover To use is, during one with the others Solution the program weiteragieren let can and in between time checkt, whether what changed has... |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 09/18/07 ▲ |
|
|
|
|
RGH | Jörg Sellmeyer
RGH... and what speaks against whom employment the for derartige tack introduced XProfan-function WinExecWait?
Greeting Roland Perhaps The fact, that Profan then really wait and To nothing moreover To use is, during one with the others Solution the program weiteragieren let can and in between time checkt, whether what changed has...
Hello Jörg, my throw-in related on iFs function ShellWait. These power - if I tappt im dunkeln right understand - exakt the, what my WinExecWait power. though can The items this procedure naturally very to the use, what you vorschwebt. Perhaps falls me for XProfan 2008 yet what to a ...
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 09/18/07 ▲ |
|
|
|
|
Jac de Lad | Well, i'm me sure, that Roland the intern thereby belässt.
@Roland: what say You To Getrusage? |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 09/19/07 ▲ |
|
|
|