Re: Opening a new instance of TC with /O from an application with other rights
Posted: 2022-08-28, 10:34 UTC
Forum - Public Discussion and Support
https://www.ghisler.ch/board/
You mean really any circumstances? No new instance when there wasn't any yet? And also no new instance with OnylOnce=1 and 1 elevated instance running when a new instance would be created without /O)?
It pleases.
They (there were several) require clarification and improvements. Therefore, additional questions are being asked.
I assume that was what was being requested. Fla$her would be the person to answer.You mean really any circumstances?
Didn't I answer? I'll try in more detail:
I wanted to show what the purpose of the parameter is, which is relevant now.
First of all, it is good to understand that "on this/that computer" is poorly chosen. Replace that with "in the current logon session".Onlyonce=0 1: Start only one instance of Total Commander per user (e.g. started via RunAs)
-1: Start only one instance of Total Commander on this computer (for all users)
x>0: Same as 1, but multiple allowed per user
x<0: Same as -1, but multiple allowed on that computer (all users together)
Of course not. I think it is probably an unintentional side effect which you now approve of. I just don't agree with your reasoning and I am passionate in making my argument. That's all.ghisler(Author) wrote: ↑2022-08-26, 07:03 UTC white words it as if I changed this deliberately to piss off people, but that isn't my intention.
/O is meant to activate the previous instance that was last active. That's how the program works. That's how it is described by you in command line syntax, help text and texts in history files.ghisler(Author) wrote: ↑2022-08-26, 07:03 UTC The main idea of /O is opening directories, if possible in an already running instance, otherwise in a new instance. It's not meant to prevent the launching of a second instance at all cost, that would need a new parameter.
*RC versionsghisler(Author) wrote:TC versions
OK. Start by disallow a new instance with /O without paths. This is definitely a bug.ghisler(Author) wrote: ↑2022-08-31, 07:04 UTC Sorry, RC versions are meant for bugfixes only, no new functions.
ghisler(Author) wrote: ↑2022-08-25, 09:10 UTC A new parameter would be the best solution for this case.
Thanks! Immediately added to the settings.ghisler(Author) wrote:TC 10.52 RC1: Command line parameters: option /O now supports a parameter, e.g. /O0 to never open a new instance in any case
Command line parameters wrote:number Same as value of OnlyOnсe= in wincmd.ini (positive or negative value)