[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop
Subject:    Re: Is this a Kdevelop bug?
From:       Bernd Gehrmann <bernd () physik ! hu-berlin ! de>
Date:       1999-04-15 16:00:50
[Download RAW message or body]

> Yes, but how can I invoke konsole/xterm with a program?
> 
> "konsole -e myprogram" or "konsole -e sh -c myprogram" doesn't work for me. :-( 
> Konsole terminates even if the program ends with a "int foo;cin >> foo". 

For me,

xterm -e bash -c 'date;read -p "Press Enter to continue"'

works (replace 'date' with any program). The '-p' option
is bash-specific. If you leave it out, it still works, 
you just don't get a prompt.

Bernd.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic