Comments (3)
As a workaround you can set the current directory to %USERPROFILE% using a shortcut, batch file etc.
Thank you, that works! I have a shortcut in start menu anyway so I just needed to set the current directory like this
This is good enough as I don't need to run it with any special command line arguments.
It is a bit unintuitive that it works like this but it is good enough. Flag is probably not needed as there is a way and it would not solve the issue that the behavior is different than default launchers.
Maybe better is to document this in README.md and/or the --help
text. Currently there is
Usage :
<no args>
- Open a new shell with your default settings.
run <command line>
- Run the given command line in that instance. Inherit current directory.
so maybe something like
Usage :
<no args>
- Open a new shell with your default settings.
- Inherit current directory (with exception that %USERPROFILE% is changed to $HOME).
Thanks again, you may close the issue as needed.
from wsldl.
There is no flag available to change this behavior now.
Currently, if you open an exe with a current directory other than %USERPROFILE%, Linux will open the Windows current directory.
As a workaround you can set the current directory to %USERPROFILE% using a shortcut, batch file etc.
If you would like this flag added, I,will mark this as a feature request.
Thanks,
from wsldl.
Okay, I'm glad that it solved the issue you were having in your environment.
As you suggest, I will document this behavior in the help and documentation.
Thank you.
I think I'll close this issue for now.
from wsldl.
Related Issues (20)
- Import existing ext4 disk if present next to Arch.exe HOT 5
- (Suggestion) FastLZ support HOT 4
- Add option for custom filename in `wsldl backup`
- `wsldl backup` fails with `4294967295` exit code HOT 3
- WSL2 rootfs on BTRFS?
- Request: add option to run a single session as selected user HOT 1
- No release for over a year HOT 3
- something wrong with showhelp
- zstd support HOT 3
- Windows Terminal Integration bootloop HOT 1
- Test on ARM failed HOT 3
- How do I restore from the backup? HOT 2
- Press any key to continue > Press enter to continue HOT 2
- Publish into the running instance the WSL version HOT 5
- Installation "with any rootfs" impossible on arm laptops without virtualization HOT 2
- Add AlmaLinux support
- Improve description of the project [-Documentation-] HOT 2
- [Question] How do you extract the root filesystem of a distro to use in wsldl? HOT 5
- ERROR:[2] Could not read registry key HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wsldl.