> On Aug 13, 2015, at 9:38 AM, Kumar Srinivasan <kumar.x.sriniva...@oracle.com> > wrote: > > 3. void JLI_InitArgProcessing(jboolean isJava, jboolean disableArgFile) { > // No expansion for relaunch > > > The launcher might re-exec itself, this might happen under certain > circumstances on *nix, is the above logic to prevent subsequent > expansion on relaunch ? However when a re-exec occurs, the > expanded args will be sent to the second invocation of the launcher. > > So what does "relaunch" mean ? in your comment ?
Right, relaunch means that re-exec. As the first time, the arguments has expanded, we don’t want to do that again for succeeding runs. For example an argument @@arg, it will become @arg at the second execution because of escape. That should not be expanded again. Cheers, Henry