Re: [racket] Detecting named pipe

2012-09-02 Thread Danny Yoo
On Sun, Sep 2, 2012 at 6:25 AM, Paulo J. Matos wrote: > Hi, > > I am trying to obtain the md5sum of a bunch of files, so for all files with > path 'p' I do : (call-with-input-file p md5) > > The problem is that this hangs when I find a named pipe file. file-exists? > returns #t and then the proces

[racket] Detecting named pipe

2012-09-02 Thread Paulo J. Matos
Hi, I am trying to obtain the md5sum of a bunch of files, so for all files with path 'p' I do : (call-with-input-file p md5) The problem is that this hangs when I find a named pipe file. file-exists? returns #t and then the process hangs. It seems I can't run md5 on named pipes, so how can I