[yast-devel] Execute something after yast dialog
Hi, i wanted to use YaST as a gui for a script. Now everything on the ycp/script coding is done, but i can't get yast to start the script after the Dialog. Is there any other possibility then SCR::Execute? Thanks a lot! MfG Nold -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On Thu, Aug 02, 2012 at 05:05:07PM +0200, Nold wrote:
Hi,
i wanted to use YaST as a gui for a script. Now everything on the ycp/script coding is done, but i can't get yast to start the script after the Dialog.
Is there any other possibility then SCR::Execute?
From YCP, it is indeed SCR::Execute(.target.bash, "/usr/bin/myscript"); You can also install yast2-perl-bindings (or python or ruby bindings) and use the system call of those languages. If you show us your code and /var/log/YaST2/y2log (or ~/.y2log if run as non-root), we can advise you why SCR::Exceute fails. -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
participants (2)
-
Martin Vidner
-
Nold