in reply to Environment discovery under Linux

Use $ENV{SHELL} in Linux/Unix and $ENV{COMSPEC} in DOS/Windows.