figured out the duplexer. I was adding cmd and args when I merely needed to pass them as separate arguments. need to read more about spawn