Mailinglist Archive: yast-devel (51 mails)

< Previous Next >
Re: [yast-devel] finish yast and launch subsequent program
  • From: Martin Vidner <mvidner@xxxxxxx>
  • Date: Wed, 19 Sep 2007 15:34:38 +0200
  • Message-id: <20070919133438.GC2596@xxxxxxxxxxxxxxxx>
On Wed, Sep 19, 2007 at 02:50:54PM +0200, Johannes Meixner wrote:
> 
> Hello,
> 
> is it possible (with YCP) to finish a YaST module
> but let it launch a subsequent program?
> I.e. replace the YaST process by another program?

No, we have no "exec", but you can run it in the background and then
exit YaST.

> 
> For background info, see
> https://bugzilla.novell.com/show_bug.cgi?id=310476#c4
-- 
Martin Vidner, YaST developer, coreutils pyrotechnician

I=${1//*/'\\\\'};watch -n1 'I=(\\\\ \| / -);i=$((`date +%s`%4))
echo -e "111lllll1111\n11lllllll__o\n__lllllll'\''I_"|sed "
s,l,${I[$i]},g;s,I,'"$I"',;s,1, ,g"'${1+|rev}
{
    SCR::Execute (.target.bash_background, "xclock");
    UI::OpenDialog(`PushButton("&Finish YaST"));
    UI::UserInput();
    UI::CloseDialog();
}
< Previous Next >
Follow Ups
References