making the custom command env variables test harness cross-platform