[Qgis-user] OSGeo4W Shell with Unix-Style Terminal?

Jürgen E. Fischer jef at norbit.de
Thu Jul 7 14:59:06 PDT 2022


Hi Mike,

On Thu, 07. Jul 2022 at 17:31:26 -0400, Mike Treglia wrote:
> So I've added the below to my profile (from the link you've previously
> shared), and I can run 'fetchenv /c/OSGeo4W/bin/o4w_env.bat' from my bash
> terminal - and it starts the process, but it either is getting hung up, or
> is just taking longer than I anticipated - is it something that does take
> some time and I just need to let it run, so be patient? Or am I maybe
> missing or need to adjust something else?

Not sure - I use cygwin's bash and with that it works.  Other shells might
behave differently.

msys for instance has problems with plain /c in the cmd call and needs //c (see
https://github.com/OSGeo/grass/blob/main/mswindows/osgeo4w/package.sh#L33)

Try set -x to get some more insight what it does and where it hangs.  It might
take a few seconds, but no minute.


Jürgen

-- 
Jürgen E. Fischer           norBIT GmbH             Tel. +49-4931-918175-31
Dipl.-Inf. (FH)             Rheinstraße 13          Fax. +49-4931-918175-50
Software Engineer           D-26506 Norden            https://www.norbit.de
QGIS release manager (PSC)  Germany                 IRC: jef on Libera|OFTC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220707/ebfc4d32/attachment.sig>


More information about the Qgis-user mailing list