I think I realised what the problem was and it was that echo isn't a program on Windows so it can't be spawned as a process. I tried calling Odin through process_exec and it displayed the usage message. This was after trying multiple commands like dir, ls, etc.