added SHCMD support for pipe-based commands due the new spawn() versio