realbasic-nug
[Top] [All Lists]

Re: Shell problem in 2007r4 and WinXP

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Shell problem in 2007r4 and WinXP
From: Fargo <fargo at rpgportland dot com>
Date: Sat, 29 Sep 2007 13:52:36 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20070926134220 dot ep5fmsuyo40goo8w at webmail dot pnc dot com dot au> <46F9D753 dot 1010700 at rpgportland dot com> <DA4695C7-8095-45B5-A240-8025C2F7D024 at drewfindley dot com>
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>


<Prev in Thread] Current Thread [Next in Thread>