From: Chaos Eternal <chaoseternal@shlug.org>
To: guile-user <guile-user@gnu.org>
Subject: Re: spawn call
Date: Sun, 27 Apr 2014 16:08:32 +0800 [thread overview]
Message-ID: <CAGyY8NtnNh3dvTntxZHSDUowNMLLTJh2aivY7cH-PNNZ8ZPUGQ@mail.gmail.com> (raw)
In-Reply-To: <535C0087.2080405@campus.tu-berlin.de>
why not use guile-scsh? guile-scsh is a port of scsh (scheme shell) to guile.
guile-scsh can be used to do most shell script's task .
guile-scsh provides a lot of syntaxes and procs for use with os processes.
for example:
run
run/port
run/file
run/collecting
check it out here:
https://gitorious.org/guile-scsh
On Sun, Apr 27, 2014 at 2:52 AM, Max <maxim.suraev@campus.tu-berlin.de> wrote:
> Hi.
>
> I'm looking for a way to "fire and forget" external program from Guile: something
> similar to spawnOnce call in Haskell.
>
> I've tried to look through http://www.gnu.org/software/guile/manual/guile.html and ML
> archive but only found "system* arg1 arg2 …" which judging from description uses
> waitpid. I need some function which does not wait for spawned program to finish but
> returns immediately indicating whether it manage to start given program or not - the
> spawned program might run forever for example.
>
> Where should I look for it? Some library perhaps? Some usage examples?
>
> cheers,
> Max.
>
next prev parent reply other threads:[~2014-04-27 8:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-26 18:52 spawn call Max
2014-04-26 21:15 ` Chris Vine
2014-04-27 9:10 ` Max
2014-04-27 9:32 ` Max
2014-04-30 17:42 ` Max
2014-04-27 8:08 ` Chaos Eternal [this message]
2014-04-27 9:21 ` Max
2014-04-28 15:46 ` Chaos Eternal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGyY8NtnNh3dvTntxZHSDUowNMLLTJh2aivY7cH-PNNZ8ZPUGQ@mail.gmail.com \
--to=chaoseternal@shlug.org \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).