constuintcmdMaxLength=32768;// max length (incl. terminate char) for `lpCommandLine` in `CreateProcessW()`
if((program.size()+1)>cmdMaxLength){
logger->addMessage(tr("Torrent: %1, run external program command too long (length > %2), execution failed.").arg(torrent->name()).arg(cmdMaxLength),Log::CRITICAL);