Fix BLocalTerminalDriver bug on Windows

Write workaround to handle long process arguments.