Steve Holdoway wrote:

On Fri, 09 Mar 2007 12:39:02 +1300 (NZDT)
[EMAIL PROTECTED] wrote:

Steve Holdoway wrote:
On Fri, 09 Mar 2007 11:41:12 +1300
Roger Searle <[EMAIL PROTECTED]> wrote:


script at this point is:

/bin/bash

This should read
#!/bin/bash

and is your problem.

Thanks Steve, all good now!


Which leaves the slightly worrying question of "why did it work double
clicking in konqueror?"


Probably something to do with stdin/out/error and how they are handled by the 
browser environment. Either the shell was started asynchronously (unlikely), or 
it closes the shell as eof is found on stdin. The script as written before 
would have completed if a ^D / exit was input at the terminal session.

Steve

I note that it is a .sh script, is Konqueror running it in a sh shell whereas Roger is trying it from a bash shell. Would be interesting try it from a sh command line without the alt above.

Barry

Reply via email to