[CM] Grace,s7, system

James Hearon j_hearon at hotmail.com
Fri Apr 5 09:30:24 PDT 2013

I'm wondering what "65280" means.

I'm trying to use the s7 "system" call from Grace,

(system "/home/Grace/test.sh")

It works fine on some things, such as if .sh contains:

#! /bin/sh
cd /opt/snd-13.5
./snd 808loop.wav

and returns 0, but on other items I just get "65280" returned in Grace.  I've checked file permissons, ownership, execution of .sh file etc.  Seems to have something to do with whether the program uses graphics or opens in a terminal.    The troublesome programs fire just fine if I directly run the .sh file from command line outside of Grace/s7.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/mailman/private/cmdist/attachments/20130405/762ed254/attachment.html 

More information about the Cmdist mailing list