execlp

2011-11-22 Thread Paul Emsley
Hi, I am trying to see if there is a way to determine if a program is in the path (i.e. a bit like which), returning a #t or #f answer. I was looking execl and execlp. The documentation for execl says: Executes the file named by path as a new process image what is path ? I'm guessing

Guile-gnome

2011-11-22 Thread Ariel Rios
Hello, Where is guile-gnome located hosted these days? Is there one for current guile? thanks, ariel

Re: Guile-gnome

2011-11-22 Thread Andy Wingo
Hello old friend! On Tue 22 Nov 2011 20:37, Ariel Rios arielte...@gmail.com writes: Where is guile-gnome located hosted these days? http://gnu.org/s/guile-gnome/ You'll need to use g-wrap and guile-gnome from git, but it does work with Guile 2.0. Peace, Andy -- http://wingolog.org/

Re: Guile-gnome

2011-11-22 Thread Ariel Rios
Hello, So after battling to compile g-wrap (I needed a macro in gettext) I have bee able to install guile-gnome but I am getting: [ariel@~/src/guile-gnome-platform/gtk/examples/tutorial]$ guile-gnome-2 -l hello.scm ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass

Re: Guile-gnome

2011-11-22 Thread rixed
-[ Tue, Nov 22, 2011 at 05:34:00PM -0600, Ariel Rios ] Hello, So after battling to compile g-wrap (I needed a macro in gettext) I have bee able to install guile-gnome but I am getting: [ariel@~/src/guile-gnome-platform/gtk/examples/tutorial]$ guile-gnome-2 -l hello.scm ;;; note:

Re: Guile-gnome

2011-11-22 Thread Ariel Rios
I guess I was tired and didn't look that I needed guile-cairo and some other stuff. I've got it running now. Surprises coming. ariel 2011/11/22 ri...@happyleptic.org: -[ Tue, Nov 22, 2011 at 05:34:00PM -0600, Ariel Rios ] Hello, So after battling to compile g-wrap (I needed a macro in

Re: execlp

2011-11-22 Thread Nala Ginrut
I think there's a bug. (execlp ls ) will access. Since the second parameter is optional, scm_execlp doesn't handle exec_argv unbounded situation. On Wed, Nov 23, 2011 at 12:06 AM, Paul Emsley paul.ems...@bioch.ox.ac.ukwrote: Hi, I am trying to see if there is a way to determine if a program

Re: execlp

2011-11-22 Thread Nala Ginrut
Well, I noticed your second question. ;-) The common method to determine a executable file is stat:perms, you may check it out in the manual for details. On Wed, Nov 23, 2011 at 1:47 PM, Nala Ginrut nalagin...@gmail.com wrote: I think there's a bug. (execlp ls ) will access. Since the second