gasilhd.blogg.se

Unrar linux nzbget version
Unrar linux nzbget version








How come I can receive a readdyReadStandardOutput during a waitForFinished? Hum probably because it's a DirectConnection? So that the QProcess that executes them. I'm still quite interested to understand why my current implementation is working. I may think about doing a more Qt spirit implementation when I'll have more time. Well those compression processes have been added as a new feature, it was much faster/easier to keep the existing sequential logic as anyway I don't want to do anything during those QProcess. This means I need a dedicated slot in my main worker (not the HMI) that would then trigger the following tasks. I kind of see what you mean with a non blocking implementation that would rely on the QProcess::finished.

#Unrar linux nzbget version update#

I've added the QCoreApplication::processEvents to help populate the signals that update the HMI as I think it was lagging. During this statem, Sys load in TOP is consistently high (4+) and so is CPU usage for both nzbget and unrar. When a file is stuck in unpacking, the docker console shows an unrar process running for a few seconds, then re-spawning with a new PID. That was a bit unexpected but I noticed it was working straight away on my first draft. But just in case it gives you any new ideas, heres what I found. Well I'm receiving the QProcess::readyReadStandardOutput signals while I'm on the QProcess::waitForFinished. Void NgPost::onExtProcReadyReadStandardOutput() _error(QString("Error compressing: %1").arg(exitCode)) _log(QString("rar exit code: %1\n").arg(exitCode)) Here is a compiling code to illustrate the issue: (main.cpp) #include I've tried several things but I couldn't manage to figure out a way to bypass it. So it seems to me there is an issue with QProcess passing the password argument to the rar command. If I run it in a terminal, then it is working AND I can decompress using the password. I output the command that I'm doing in the QProcess.

unrar linux nzbget version

The command is simple: rar a -inul -m0 compressed.rar -hp"myPassword" file_to_compressīUT when I try to unrar my compressed.rar, then the password is incorrect. I'm fighting for few hours on this one: I'd like to compress some files using rar as an external command and using a password. Latest stable release Version: 21.








Unrar linux nzbget version