xbindkeys-devel
[
Top
][
All Lists
]
Advanced
[Date Prev][
Date Next
][Thread Prev][
Thread Next
][
Date Index
][
Thread Index
]
[Xbindkeys-devel] reading the output of run-command
From
:
Marc Belmont
Subject
:
[Xbindkeys-devel] reading the output of run-command
Date
:
Mon, 8 Jun 2009 13:41:59 +0200
hi,
I wanted to read the output of run-command and I wrote this scheme code
(define (shell-run cmd)
(let* ((port (open-input-pipe cmd))
(str (read-line port)))
(close-port port)
str))
and then something like
(xbindkey-function '(a) (lambda () (display (shell-run "xdotool getmouselocation"))))
it's working ok 5 times and then I get an error
glibc detected *** xbindkeys: free(): invalid next size (fast): 0x80512a0 ***...
What's wrong with my code?
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
[Xbindkeys-devel] reading the output of run-command
,
Marc Belmont
<=
Re: [Xbindkeys-devel] reading the output of run-command
,
Philippe Brochard
,
2009/06/08
Fw: [Xbindkeys-devel] reading the output of run-command
,
Philippe Brochard
,
2009/06/09
Next by Date:
Re: [Xbindkeys-devel] reading the output of run-command
Next by thread:
Re: [Xbindkeys-devel] reading the output of run-command
Index(es):
Date
Thread