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: "Drew F." <realbasic at drewfindley dot com>
Date: Sat, 29 Sep 2007 13:46:34 -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>
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>
>

_______________________________________________
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>