Hi,
what is the simplest Ruby based client to test SCR code?
I tried something like this:
module X
include Yast
r = SCR.Execute(path(.target.bash), /usr/bin/true)
Builtins.y2milestone(r)
end
but here path is undefined.
Regards,
Arvin
--
To unsubscribe, e-mail:
On Mon, Sep 09, 2013 at 12:21:31PM +0200, Arvin Schnell wrote:
what is the simplest Ruby based client to test SCR code?
$ ruby -r yast -e 'Yast::SCR.Execute(Yast::Path.new(.target.bash), xeyes)'
I tried something like this:
module X
include Yast
r = SCR.Execute(path(.target.bash),
Dne 9.9.2013 12:21, Arvin Schnell napsal(a):
Hi,
what is the simplest Ruby based client to test SCR code?
I tried something like this:
module X
include Yast
r = SCR.Execute(path(.target.bash), /usr/bin/true)
Builtins.y2milestone(r)
end
but here path is undefined.
If you