[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: spawn call
From: |
Chaos Eternal |
Subject: |
Re: spawn call |
Date: |
Mon, 28 Apr 2014 23:46:45 +0800 |
Really, the license is bsd-style. thank you for point it out.
For usage, just (use-modules (scsh scsh)) and then you can (run (ls))
And this chapter of scsh
http://scsh.net/docu/html/man-Z-H-3.html#node_chap_2 is suitable for
guile-scsh.
i have a complex script for managing kvm virtual machines,
https://code.google.com/p/vmscript/source/browse/trunk/bin/createvm.scm
On Sun, Apr 27, 2014 at 5:21 PM, Max <address@hidden> wrote:
> Thanks but the documentation seems very limited. Also I really prefer GPL
> code over
> BSD/MIT/whatever proprietary-friendly so as long some free (as in Freedom,
> doh!
> English is such a limited language :) alternatives exists I'll always choose
> those.
>
> 27.04.2014 10:08, Chaos Eternal пишет:
>> 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 <address@hidden> 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.
>>>
>>
>
>