[mercury-users] Opening standard input stream when nothing is read.
Bartlomiej Szymczak
rhywek at gmail.com
Mon Jul 2 07:07:46 AEST 2007
Hi, all.
I've tried to run my mercury code with nohup, but I get an error:
$ nohup ./john
nohup: appending output to `nohup.out'
$ cat nohup.out
Mercury runtime: error opening standard input stream in binary mode:
fdopen() failed: Invalid argument
The strangest thing is that I never read anything from standard input
in my program. I do read files, however.
Of course everything works OK if I run it without nohup or as:
$ nohup ./john </dev/null
But I still think it's a strange behavior of my program to try to open
the stdin if I don't read anything from it.
--
Bartlomiej Antoni Szymczak
--------------------------------------------------------------------------
mercury-users mailing list
Post messages to: mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions: mercury-users-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the users
mailing list