Ah, yeah, good point. Thanks for catching that Drew.
If you wanted to be more flexible with it, you can grab Aaron's Windows
Functionality Suite, as I do believe it has task management functions
already declared for you in it. Obviously a little more effort, but much
less dirty.
Good luck,
Fargo
Drew F. wrote:
> Be aware that Taskkill is not available on XP Home. Only XP Pro and
> Vista.
>
> -Drew
>
> On Sep 25, 2007, at 8:51 PM, Fargo wrote:
>
>
>> I don't know about 2007r4, but with 2006r3 I didn't have any trouble
>> with the shell items I was using. It strikes me as likely having
>> more to
>> do with the differences between how Windows processes the close
>> ("get to
>> that eventually, if it's ok") and how linux processes it ("end this
>> now"), as well as any specific issues ffmpeg may have. If you want a
>> dirty workaround your cancel button could execute another shell, and
>> passing taskkill /T /F /IM ffmpeg.exe . I think that's the right
>> syntax,
>> it's been a while.
>>
>> Good luck,
>> Fargo
>>
>> Darren Yates wrote:
>>
>>> Hi all,
>>>
>>> I'm trying to use the Shell command in RB2007r4 to control a
>>> command-line app, FFmpeg. The problem is that the command doesn't
>>> appear to work correctly under WinXP.
>>> If I use Shell.mode = 0, the app won't run.
>>> If I use Shell.mode = 1 or 2, it runs but I can't use Shell.close to
>>> shut it down if I press a "cancel" button.
>>>
>>> If I use Shell.mode = 2 in the Linux version, it runs the app and
>>> Shell.close shuts it down.
>>>
>>> Does anyone know if there is a known bug with Shell in WinXP?
>>>
>>> Cheers.
>>>
>>> ---------------------------------------------------------------
>>>
>>>
>> ______________________________________________________________________________________________
>>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|