Comments (2)
@shift838 If I understand correctly, you're asking to set the working directory that the script runs in (not the folder that the shortcut lives in).
If that is correct: the code does not currently support that but could almost certainly be altered to do so. For sure, "starting directory" is supported for Windows links (we currently set it to "HOME"). Linux desktop files have a PATH attribute, which we don't set, but I think must default to "HOME". For macOS, we run a bash script and could add "move to selected working folder".
So, I think that would be a fine thing to add. Do you feel up to trying to make those changes?
from pyshortcuts.
should be fixed now.
from pyshortcuts.
Related Issues (20)
- cannot bring up pyshortcut GUI form HOT 3
- please clarify instructions to create icon to app, or better, automate it HOT 6
- Windows `ENVRUNNER` issue HOT 4
- Only one '.' allowed in shortcut name HOT 3
- New PyPI release?
- Relative path for shortcut target HOT 3
- Add run as admin argument for windows HOT 9
- pyshortcuts-1.8.2 on pypi has indentations errors in pyshortcuts.base HOT 2
- Remove shortcut HOT 1
- option to enable "-m" argument HOT 6
- Multiple icon resolution support (Windows) HOT 6
- Issues with shortcuts on Linux HOT 10
- default shell in MacOS HOT 5
- export PYTHONEXECUTABLE does not always end with bin/python HOT 1
- condabin HOT 4
- Space in path HOT 1
- Run from virtualenv HOT 1
- Shortcuts when clicked disappear from Dock and not working for M1/M2 Mac Machines HOT 4
- MAC Shorcut doesn't work HOT 7
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 pyshortcuts.