You are here 705137

Call running KeePro with command line arguments 2p5m20

5 posts / 0 new
Last post
hunhejj
Offline
Last seen: 4 years 7 months ago
ed: 2016-08-24 06:39
Call running KeePro with command line arguments

Hi,
first of all I am happy to see that KeePro is now available on portableApps! I wanted to do the switch but I am missing a key feature.

I have some batch scripts that call Kee with command line arguments. If an instance is running already, the arguments should be ed to that running instance. This works with the original Kee as expected however it does not work with the portableApps version. Command line arguments are ed to the instance only when it is not running in the background yet. This is a showstopper for me. Could you please fix that?

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 18 min ago
DeveloperTranslator
ed: 2005-11-28 22:21
EXE and arguments?

Are you attempting to command line arguments to the running instance via KeeProPortable.exe or via Kee.exe? What parameters are you ing so that I can attempt to recreate it?

The launcher will correctly arguments through. I was able to test this by first running KeeProPortable.exe and then, while it was running with its UI up, running KeeProPortable.exe --exit-all from the command line and it properly closed the running instance.

Sometimes, the impossible can become possible, if you're awesome!

hunhejj
Offline
Last seen: 4 years 7 months ago
ed: 2016-08-24 06:39
Portable.exe and -pw:

Sorry, I didn't notice your answer until now.

Here's an example:

KeeProPortable.exe A.kdbx -pw:foo This launches kee and unlocks A.kdbx as expected.

Then while it's running, I call: KeeProPortable.exe B.kdbx -pw:bar Something definitely happens, but B.kdbx still won't get unlocked.

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 18 min ago
DeveloperTranslator
ed: 2005-11-28 22:21
Work With Base?

Does it work with the base app to open another database while one is already open? The KeeProPortable.exe should just run kee.exe and in the command line it got unaltered. I know it did it with --exit-all when I tried it. Try ing your A.kdbx string and then run it again with --exit-all to see if it is at least ing that in correctly, please.

Sometimes, the impossible can become possible, if you're awesome!

hunhejj
Offline
Last seen: 4 years 7 months ago
ed: 2016-08-24 06:39
Base works

This works well:

KeeProPortable\App\Kee.exe A.kdbx -pw:foo

KeeProPortable\App\Kee.exe B.kdbx -pw:foo

Calling the same on KeeProPortable.exe does not work.

--exit-all works both on the base and on KeeProPortable.exe

to post comments