On 01/15/2013 06:31 PM, Michal Hlavinka wrote:
Hi,
does anyone know, what exactly should
set -m
do? (man page did not help)


------- test.sh ------------
#!/bin/ksh
xterm &
read x
echo end
----------------------------

When I run ./test.sh and press ctrl-c, script ends, but xterm is still
running.
Other shells (tested with bash, dash, mksh, zsh) terminate xterm.
When I add "set -m", ksh and other shells behave the same - xterm is
left running.

Is this expected behaviour?

Also, when I use "ksh -m" it does not produce any error, but it does not affect content of $- , on the other hand "ksh -e" does affect content of $-

Seems to me set -m does not work?

Michal
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to