Send Beginners mailing list submissions to
        beginners@haskell.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        beginners-requ...@haskell.org

You can reach the person managing the list at
        beginners-ow...@haskell.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1.  Best way to trig an IO action on a condition.
      (PICCA Frederic-Emmanuel)
   2. Re:  Best way to trig an IO action on a   condition. (Simon Jakobi)


----------------------------------------------------------------------

Message: 1
Date: Sun, 29 Jul 2018 08:56:43 +0000
From: PICCA Frederic-Emmanuel
        <frederic-emmanuel.pi...@synchrotron-soleil.fr>
To: "beginners@haskell.org" <beginners@haskell.org>
Subject: [Haskell-beginners] Best way to trig an IO action on a
        condition.
Message-ID:
        
<a2a20ec3b8560d408356cac2fc148e530107e2e...@sun-dag4.synchrotron-soleil.fr>
        
Content-Type: text/plain; charset="us-ascii"

Hello,

Now that I know how to fork a process the right way :)
I would like to trig this process when a list of file exist on the system.

I can not use inotify since my files are on an nfs sytem.

So I would like your advices in order to create a Condition which wait for the 
presence of these files and when this condition is fullliled, trigg the action.

Thanks for your help.

Frederic.


------------------------------

Message: 2
Date: Sun, 29 Jul 2018 13:18:03 +0200
From: Simon Jakobi <simon.jak...@googlemail.com>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <beginners@haskell.org>
Subject: Re: [Haskell-beginners] Best way to trig an IO action on a
        condition.
Message-ID:
        <cagtp2sit28c0lh6wvlhkloncwvsjyene6g5amjjxve30xrv...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi Frederic,

fsnotify seems like it should work on Windows:

http://hackage.haskell.org/package/fsnotify

Cheers,
Simon

Am So., 29. Juli 2018 um 11:08 Uhr schrieb PICCA Frederic-Emmanuel <
frederic-emmanuel.pi...@synchrotron-soleil.fr>:

> Hello,
>
> Now that I know how to fork a process the right way :)
> I would like to trig this process when a list of file exist on the system.
>
> I can not use inotify since my files are on an nfs sytem.
>
> So I would like your advices in order to create a Condition which wait for
> the presence of these files and when this condition is fullliled, trigg the
> action.
>
> Thanks for your help.
>
> Frederic.
> _______________________________________________
> Beginners mailing list
> Beginners@haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.haskell.org/pipermail/beginners/attachments/20180729/818423e7/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners


------------------------------

End of Beginners Digest, Vol 121, Issue 23
******************************************

Reply via email to