The code to detect the system is pretty outdated
-- test for default command processor
parse source os . -- get name of operating system
os1=os~left(1)~translate -- get first character in uppercase
if pos(os1, "O W") > 0 then do -- OS2, Windows ?
self~assertSame("CMD", addr, "default address environment for"
pp(os)"="pp(addr) "not" pp("CMD"))
end
else do -- all Unix platforms should default to
"sh"
self~assertSame("sh", addr, "default address environment for"
pp(os)"="pp(addr) "not" pp("sh"))
end
It does not detect OPenBSD
E
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel