Command line options + Single instance detection questions [Solved]
Posted: Wed Sep 26, 2012 3:07 pm
Hi,
Is there any documentation on the parameters that can handle the command line? Clearly it receives at least a file which is a path to a torrent file to add. I wonder if I'm missing anything.
Apart from this, and probably related to the previous question, I was wondering how the application recognizes there is a previous executing instance running. I found this: https://github.com/qbittorrent/qBittorr ... cation.cpp and it contains the following comment inside:
"By default, the full path of the executable file is used to determine whether two processes are instances of the same application. You can also provide an explicit identifier string that will be compared instead."
Is there any way to control via command line if it should spawn only one instance or not? This question actually comes from this portableapps.com thread http://portableapps.com/node/34512 in which the portableapps.com launcher is creating new instances of qBittorrent when executing many the application more than once. Clearly, this is not the expected behaviour and creates conflicts when downloading the same files in the same directories.
Any advice/comment would be helpful. Thanks in advance.
Is there any documentation on the parameters that can handle the command line? Clearly it receives at least a file which is a path to a torrent file to add. I wonder if I'm missing anything.
Apart from this, and probably related to the previous question, I was wondering how the application recognizes there is a previous executing instance running. I found this: https://github.com/qbittorrent/qBittorr ... cation.cpp and it contains the following comment inside:
"By default, the full path of the executable file is used to determine whether two processes are instances of the same application. You can also provide an explicit identifier string that will be compared instead."
Is there any way to control via command line if it should spawn only one instance or not? This question actually comes from this portableapps.com thread http://portableapps.com/node/34512 in which the portableapps.com launcher is creating new instances of qBittorrent when executing many the application more than once. Clearly, this is not the expected behaviour and creates conflicts when downloading the same files in the same directories.
Any advice/comment would be helpful. Thanks in advance.