clearing and recreating tmpDir/traceDir before launchAndKill