<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/1.0.3">
</HEAD>
<BODY>
Its not quite what you wanted, but you could change your script to wait for a key press before it exits. Or you could write another script that takes a command line which it executes and then waits for a key press...
<BR>
<BR>
#!/bin/sh
<BR>
$*
<BR>
read a
<BR>
<BR>
...would do it (you could put an echo "press any key to exit" before the read a).
<BR>
<BR>
If you called the above script "exitwait", you can then run "exitwait echo hello" for example.
<BR>
<BR>
Nick.
<BR>
<BR>
On Wed, 2002-07-03 at 10:44, Benjamin Richardson wrote:
<BLOCKQUOTE>
<PRE><FONT COLOR="#737373"><FONT SIZE="3"><I>I would like to execute a script in a shell thanks to a link to an </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>application in kde. This script usualy works but when i use the link the </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>shell window closes as soon as the script is finished. How can I specified </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>the shell to stay open in the shell options, in the </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>___________________________________________________</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>This message is from the kde mailing list.</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Account management: http://mail.kde.org/mailman/listinfo/kde.</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Archives: http://lists.kde.org/.</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>More info: </FONT></FONT></I><A HREF="http://www.kde.org/faq.html."><FONT SIZE="3"><I>http://www.kde.org/faq.html.</FONT></I></A></PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<FONT SIZE="3"><TT></FONT></TT>
<BR>
<FONT SIZE="3"><TT> _ _______ __ __ </FONT></TT>
<BR>
<FONT SIZE="3"><TT> / \/ / / __\/ // /\ Nick Thompson | Agere Systems Ltd </FONT></TT>
<BR>
<FONT SIZE="3"><TT> / / / /__/ _ / / </FONT></TT><A HREF="mailto:nickthompson@agere.com"><FONT SIZE="3"><TT>nickthompson@agere.com</FONT></TT></A><FONT SIZE="3"><TT> | Microelectronics House </FONT></TT>
<BR>
<FONT SIZE="3"><TT>/_/\_/_/____/_/\\_\/ Tel: +44 1344 865951 | Kingswood, Kings Ride </FONT></TT>
<BR>
<FONT SIZE="3"><TT>\_\/\\_\____\_\/ \_\ Fax: +44 1344 865959 | Ascot, Berkshire SL5 8AD</FONT></TT>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>