On May 7, 2008, at 23:09, Michael Deschamps wrote:
> Ryan Schmidt wrote:
>
>> On May 7, 2008, at 1:57 PM, Michael Deschamps wrote:
>>
>>> ive create an integrated svn for maya, but for some reason I get no
>>> returns when run on Mac
>>>
>>> in mel script in maya, typing:
>>>
>>> system("id -un");
>>>
>>> will return:
>>>
>>> //result usernamehere
>>> //
>>>
>>>
>>> all SVN commands sent this way do not return information back to
>>> Maya
>>>
>>> example:
>>> system("svn help");
>>> should return the help text, yet it is blank
>>>
>>>
>>> the same commands run from a pc return properly
>>
>> I know what Maya is but I have never used it. You can run shell
>> commands from within Maya? And these are working on the PC version of
>> Maya but not the Mac version?
>>
>> Does "svn help" work on the Mac command line in the Terminal?
>>
>> Where is "svn" on the hard drive? Does Maya maybe need to be told
>> where to look for it, or do you need to use the full path to the svn
>> binary?
>
>
> Maya is a very powerful 3D package, and is very flexible with
> programming and mel scripting
>
> You can run shell commands using the mel script "system()" command, on
> pc I get all returns needed, (which I store and parse through for
> error
> checking)
>
> on the Mac I can open terminal, run any command it does print out
> info,
> so I know SVN is properly installed. And I can run the commands from
> Mac, they work, but due to lack or Returns I can not use my maya
> integrated window browser etc...
>
> No `svn` commands return info, im wondering how svn is handling
> messages, and how it is different from standard UNIX returns such as
> `ls` command (which do work properly on Mac maya)
Oh I see. The svn commands work on the Mac but you don't get their
output. But other non-svn commands do provide their output on the
Mac. And the svn commands do provide their output on Windows. That's
odd. I can't think why that would be.
I thought it might be the difference between stdout and stderr. ls of
course outputs a directory listing on stdout. But svn help also
outputs the help message on stdout. So I guess that's not it.
Where is this svn program from? Is this the one included by Apple
with Leopard, or installed with MacPorts or Fink, or provided by
Collab.net or Metissian.com, or compiled manually? Are you on Intel
or PowerPC? 32-bit or 64-bit? What version of Mac OS X?
Don't forget to Reply All so that your reply goes to the mailing list
too, not just to me.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-08 08:43:16 CEST