Re: .unixCmd

[email protected]
Newsgroups gmane.comp.audio.supercollider.user
Message-ID <[email protected]>
thanks Fredrik!

with Your method it responds!
and do You know what is the best method to communicate further?
for ex., in Terminal then i write: F 1231345679
and get the response :RPRT 0.

should i use Pipe for that? because just writing :
„telnet localhost 8000; F 1231345679“.unixCmd
does not evaluate the 2 command.

thanks in advance!

best,
Alisa




> Am 19.03.2021 um 11:16 schrieb [email protected]:
> 
> yes, something is very wrong here with SuperCollider running under macOS.
> and i believe it has caused a lot of the problems other users reported here previously - for example with git and quarks.
> 
> if i start SuperCollider.app like normal by double clicking the icon, and then run...
> "echo $PATH".unixCmd;		//or "PATH".getenv;
> i get /usr/bin:/bin:/usr/sbin:/sbin and it will not pick up the custom paths i have added in my ~/.zprofile settings file.
> 
> but if i cd to the supercollider directory...
> cd /Applications/SuperCollider
> and then start the program like this...
> open SuperCollider.app
> now the above commands WILL read the .zprofile file and acknowledge the custom paths.
> 
> this of course causes trouble.  for example let's say i have installed htop via homebrew, then the following will return found or not found depending on how i launched SuperCollider.app...
> "which htop".unixCmd;
> and similar...
> "which git".unixCmd;
> it will either return /usr/local/bin/git (homebrew version) or /usr/bin/git (the version that macOS ships with)
> 
> maybe i'm missing something obvious here but it does look like nasty bug.
> 
> so to answer you question... yes, that integer return code means that your telnet is not found, but try starting SuperCollider.app from the command line with open.  that should solve your problem until a fix is found.
> 
> (i'm on macOS 10.14.6, SC 3.11.2, zsh shell)
> _f
> 
>> 19 mars 2021 kl. 10:13 skrev [email protected]:
>> 
>> dear list!
>> 
>> I’m trying to understand what’s wrong with the .unixCmd and why the PATH is not the same as in Terminal.
>> Basically I want to send "telnet localhost 8000“.unixCmd, and in SC it gives me only an integer as a result, while in terminal:
>> 
>> telnet localhost 8000
>> Trying ::1...
>> Connected to localhost.
>> Escape character is '^]‘.
>> 
>> Does it have to do sth with PATH?
>> 
>> thanks for answers!
>> 
>> best,
>> Alisa
>> 
> 
> 
>  #|
>     fredrikolofsson.com     musicalfieldsforever.com
>  |#
> 
> 
> _______________________________________________
> sc-users mailing list
> 
> info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
> search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.