realbasic-nug
[Top] [All Lists]

Re: Non-ascii file names or Shell Command workaround

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Non-ascii file names or Shell Command workaround
From: Eric M.Williams <eric at oxalyn dot com>
Date: Mon, 31 Jul 2006 20:06:49 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20060731202631 dot EBAE9129A8E at swarthymail-a4 dot dreamhost dot com> <200607311732 dot 07670 dot rb at flippingdades dot com>
On Jul 31, 2006, at 3:32 PM, D Jungk wrote:

If I try to send a shell command with a path that has ñ or é in it, it fails. I have tried setting the encoding of a string first and then using that in the command. It still fails. I can cut the path from the debugger and paste
it into the terminal and it works fine.

There seems to be no way to send a shell command using a path with a non-ascii in it. My work around so far is to save a text file with the commands (with
proper encoding and permissions) and then call it as a script.

Take a look at 'man xargs'. I use this with AE Monitor and it works like a charm... except that it's a nasty workaround. :)

Eric M. Williams
Oxalyn Software
http://software.oxalyn.com/

AE Monitor
http://software.oxalyn.com/AEMonitor/

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


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