Ralf Hemmecke wrote:
>
> Just for the record...
>
> I've solved a very strange problem in context with efricas.
> We have here a setup where basically every user has the same
> environment. Now I had two users that logged into the machine where I've
> installed fricas via "ssh -X FRICAS_MACHINE". Both could start
> "fricas" just fine, but while one of them could also start efricas, for
> the other emacs started but inside emacs there whas the message
>
> Process fricas exited abnormally with code 1
>
> I don't really know why this happens, but by luck I found that changing
> the line
>
> https://github.com/hemmecke/fricas-svn/blob/master/contrib/emacs/fricas.el#L320
>
> (defun fricas-run ()
> "Run FriCAS in the current BUFFER."
> (message "Starting FriCAS...")
> (start-process-shell-command "fricas" (current-buffer)
> fricas-run-command
> "-noclef" "2>/dev/null"))
>
> I've simply removed the "2>/dev/null" String and the error was gone.
>
That is weird: in sane Posixy system writing to '/dev/null' works
while writing to other destination may fail or block. I am
not sure if ignoring error output in this case is a good
idea, but the change looks like "fooling around" a bug,
which on one system may avoid triggering a bug, but
on another actually could trigger (possibly different) a bug.
--
Waldek Hebisch
[email protected]
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
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/fricas-devel?hl=en.