Quote:
Originally Posted by encol
you must use kterm -e
See midnight commander kual extension
|
encol, I've done that. The commands in popeye.sh are:
Code:
#!/bin/sh
cd /mnt/us/extensions/popeye/bin
/mnt/us/extensions/kterm/bin/kterm -e"./popeye ./inp.txt"
read -p "Press any key to exit"
This works OK up to a point. The program runs, produces the output and displays it on the screen. But the requirement is that the window should remain open till the user presses a key. This doesn't happen. The window closes almost immediately after displaying the final line of the output.