Hi Chris, The problem is due to the way sage -notebook is handling options passed to it. This was pointed out to me by stefanv on IRC last night. I've made the following ticket for it http://trac.sagemath.org/sage_trac/ticket/2827.
You can pass arbitrary strings to run with "sage -c". For example, [EMAIL PROTECTED]:~$ sage -c "s = SFASchur(QQ); print s([2,1])^2" s[2, 2, 1, 1] + s[2, 2, 2] + s[3, 1, 1, 1] + 2*s[3, 2, 1] + s[3, 3] + s[4, 1, 1] + s[4, 2] --Mike On Sun, Apr 6, 2008 at 2:55 AM, Chris Chiasson <[EMAIL PROTECTED]> wrote: > > I would like to use > > sage -notebook > > or a similar command to start my sage notebook server on boot from a > startup script. However, just using sage -notebook won't work. I need > to pass the address option on the command line. > > sage -notebook address="$(cat /etc/hostname)" > > ain't workin. I keep running into OSError, permission denied, etc. > > Neither is > > sage -notebook address=chiasson.name > > Any ideas? > > In general, how can arbitrary commands be passed to sage from the > command line? I'm not talking about communicating with an already > running sage process, just passing commands to execute at startup. > > Thank you for your time. > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
