On Wed, Aug 05, 2020 at 11:27:30AM +, vapnik spaknik via General Guile
related discussions wrote:
[...]
> OK... I was being stupid.
We all are, most of us more often than not ;-)
>Another strange thing is that if I use the pipeline procedure to do the same
>thing, then I get an exit code
On Tuesday, August 4, 2020, 10:34:22 PM GMT+1, vapnik spaknik
wrote:
>Hi,
> I'm trying to write some code to get the size of a diff of two files.
>If I run the following pipeline in my zsh shell:
>
>> diff -ua /tmp/file1 /tmp/file2 | wc -c
>
>it prints 215
>However when I run the followin
On Tue, Aug 04, 2020 at 09:34:22PM +, vapnik spaknik wrote:
> Hi,
> I'm trying to write some code to get the size of a diff of two files.
> If I run the following pipeline in my zsh shell:
>
> > diff -ua /tmp/file1 /tmp/file2 | wc -c
>
> it prints 215
> However when I run the following in
Tomas By :
> In a Guile program I am using (system ) to start a C binary
> which I then communicate with over the network.
>
> I'm wondering if there is any way to get the process id of this binary?
>
> Have tried to call "ps -A|grep " using with-output-to-string and
> with-error-to-string, but am
Marko Rauhamaa skribis:
> Eli Zaretskii :
>
> From: Marko Rauhamaa
>>> I'd like to produce Guile code that works on Linux. As it stands, I
>>> can't.
>>
>> Of course you can: write it in C and load it via FFI.
>
> Well, for that, I don't even need Guile; all I need is gcc.
>
> It's a bit of
Eli Zaretskii :
From: Marko Rauhamaa
>> I'd like to produce Guile code that works on Linux. As it stands, I
>> can't.
>
> Of course you can: write it in C and load it via FFI.
Well, for that, I don't even need Guile; all I need is gcc.
It's a bit of a lame reason to have to escape out of S
>>> From: Marko Rauhamaa
>>> Date: Tue, 23 Jun 2015 11:08:23 +0300
>>> Cc: guile-user@gnu.org
>>>
>>> Michael Tiedtke :
POSIX isn't that important or useful anymore but "full access to
POSIX system calls" it has never been.
>>> What I'd like is a way to communicate open file descriptors
On 2014年11月27日 9:45:26 GMT+03:00, Thien-Thi Nguyen wrote:
>
>Personally, i use ‘(ttn-do zzz subprocess) call-process’, from
>package ttn-do (http://www.gnuvola.org/software/ttn-do/).
Hi:
Thanks for the recommendation. I've inspected ttn-do, however it seems too old
to me, for instance reli
() "白熊 @相撲道"
() Thu, 27 Nov 2014 00:18:22 +0300
The problem with this is, when configure fails for example due
to an error, I don't catch the error and next command gets
executed... But I need to catch the error and stop Guile from
proceeding, so I see what happened.
How can I bes
Taylan Ulrich Bayirli/Kammer skribis:
> Tim Even writes:
>
> > I've been using Chez/Petite Scheme's system command as a sort of
> > Scheme interface to Netpbm and other executables. Any information --
> > more than what is in the documentation -- on a Guile equivalent?
>
> Guile has a `system'
Tim Even writes:
> I've been using Chez/Petite Scheme's system command as a sort of
> Scheme interface to Netpbm and other executables. Any information --
> more than what is in the documentation -- on a Guile equivalent?
Guile has a `system' procedure as well.
Note that its behavior does not
Hi,
"Scott Walck" <[EMAIL PROTECTED]> writes:
> (system "ls"); works
> (use-modules (ice-9 slib)) ; works
> (system "ls"); no longer works
Unfortunately, I can't reproduce that here:
$ SCHEME_LIBRARY_PATH=/usr/local/lib/slib/ ./pre-inst-guile
guile> (system
12 matches
Mail list logo