Const
Singleton instance of CommandExecutor. Import and use this instance throughout the application.
import { executor } from './executor';const result = await executor.execute('./solution', { timeout: 2000, memoryLimitMB: 256}); Copy
import { executor } from './executor';const result = await executor.execute('./solution', { timeout: 2000, memoryLimitMB: 256});
Singleton instance of CommandExecutor. Import and use this instance throughout the application.