2008/7/8 Eric Kow <[EMAIL PROTECTED]>:
> Well, for me it works on both msys and cygwin , just not on the DOS prompt

Yes, I was talking about darcs compiled with msys, but run in dos prompt :).

> I still feel there is some underlying mystery though... :-/

No mistery (from Windows DOS prompt):
GHCi, version 6.8.2: http://www.haskell.org/ghc/  :? for help
Prelude> :m +System.Process
Prelude System.Process> runProcess "more" [] Nothing Nothing Nothing
Nothing Nothing
*** Exception: more: runProcess: does not exist (No such file or directory)
Prelude System.Process> runProcess "more.com" [] Nothing Nothing
Nothing Nothing Nothing
(works)

pipeDocToPager uses runProcess. It works with runCommand with both
"more" and "more.com" because it uses the shell.

I don't know if this is a GHC bug: maybe it's the way it's supposed to
work in this environment.

Salvatore
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to