Git Product home page Git Product logo

Comments (3)

fanoush avatar fanoush commented on August 28, 2024 1

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
image
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.

yuk7 avatar yuk7 commented on August 28, 2024

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.

yuk7 avatar yuk7 commented on August 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.