Hi Redllar,
Would you consider extending wrappers to take command-line arguments and pass them to the wrapped program? i.e.,
prog_portable.exe arg1 arg2 => runs jpeized prog.exe with arguments arg1 arg2
When the wrapped program isn't running already, it's pretty clear what would happen when it was started with arguments.
But what about the programs that restrict themselves to single instance, so it's always the same running instance that handles successive runs of new command-line arguments? Could those programs run as expected when jauntepeized?
feature request - wrapper pass command-line arguments
Re: feature request - wrapper pass command-line arguments
Sure. I took a quick look at the current exe code and I think I already made that change. I just need some time away from the jpe dll issues and q&a here to get all of the changes made since Feb of this year finalized and tested.Hi Redllar,
Would you consider extending wrappers to take command-line arguments and pass them to the wrapped program? i.e.,
prog_portable.exe arg1 arg2 => runs jpeized prog.exe with arguments arg1 arg2
No, not really. At least I don't think so at first guess. There's too many ways for an app to handle that situation. And although I know of and have used several myself, I couldn't assume anything specific as the ways to handle that are just too generic. I'll add it to the todo list so I can at least think about it.When the wrapped program isn't running already, it's pretty clear what would happen when it was started with arguments.
But what about the programs that restrict themselves to single instance, so it's always the same running instance that handles successive runs of new command-line arguments? Could those programs run as expected when jauntepeized?
EDIT: I think maybe there is after all, at least in some limited situations. I'd like another ini entry to make sure that it's a user-specified option though.
Re: feature request - wrapper pass command-line arguments
Indeed. In version 0.14 at least a command-line likeredllar wrote:Sure. I took a quick look at the current exe code and I think I already made that change.
prog_portable.exe argfile.ext
seems to work. Also
\path\to\prog_portable.exe "%1"
works for shell\open\command registry keys.