Quantcast
Viewing all articles
Browse latest Browse all 2810

Spaces are replaced with colons when transporting the environment variables into WSL because of using OpenFoam

I am using windows-subsystem-for-Linux, and I choose Ubuntu. But I can't call the program installed on the Windows OS, so I check the environment variable list in WSL, it seems that the spaces are replaced with colons when transporting the environment variables into WSL.
Considering that in WSL, the environment variables list is a colon-delimited list. In Win32, it is a semicolon-delimited list.
I think this the reason why I can't call the program installed on the windows OS. So I checked another laptop, this phenomenon doesn't exist and everything works fine.

My question is:

  1. Why does this problem happen?
  2. How could I fix it?

Image may be NSFW.
Clik here to view.
enter image description here

Image may be NSFW.
Clik here to view.
enter image description here


Viewing all articles
Browse latest Browse all 2810

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>