Web lists-archives.com

Re: open IE from command line

On 2016-12-22 07:25, Nellis, Kenneth wrote:
> Mystery solved (to my satisfaction). After writing, I realized that
> the script wasn't working consistently, sometimes causing IE to
> misbehave as I originally posted. A bit of digging showed that it was
> working if invoked from a bash session initiated by "chere", but not
> otherwise. Comparing environment variables between the two, I notice
> my regular session doesn't include several variables that chere does.
> Prime suspects:
>  * CommonProgramFiles(x86)
>  * CommonProgramW6432
>  * ProgramData
>  * ProgramFiles(x86)
>  * ProgramW6432
> Experimentation will no doubt find the culprit, and will put me back 
> in business.

Check your Cygwin/mintty startup shortcut target or other command line 
looks like: 
	"...\bin\mintty.exe -i /Cygwin-Terminal.ico -"
where the final " -" ensures that the shell is invoked as a login shell, 
otherwise normal login setup may not be done correctly or fully.

Confirm that you still have /bin/cygwin-console-helper installed.

Failing that, check if your profile or rc scripts are doing, using, or 
invoking something which sanitizes your environment or changes it 

Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple