Comments (4)
I wonder if we can update this
from
cmd = "function %s() { %s @args }" % (key, value)
to
cmd = "function %s { & %s @args }" % (key, value)
from rez.
I can confirm that replacing the line above does indeed work.
I have no idea whether this may break existing alias definitions though!
from rez.
I think replacing %s()
with %s
(removing ()
) is unnecessary since they both mean "the function doesn't take any parameter). See https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_functions?view=powershell-7.4.
As for the &
, in this case it's the call operator.
I would be curious to know if replacing sg
with "sg"
would fix the issue...
from rez.
So actually this is a little outdated because we did, in fact, replace sg
with "sg"
'. I also tried with no quotes and I receive a similar error. We did everything in our org to sign our CLA #1747.
from rez.
Related Issues (20)
- rez-pkg-cache the case of pachage'name HOT 2
- TSC Meeting 2024-05-16
- Combined packages (multi packages) fail on windows HOT 1
- Rez use powershell to render houdini will lost $HIP and $F HOT 8
- build_requires with @late can not run rez env -b to create build env
- Inconsistent normalization of config paths can break handling of local packages path
- Unrecognised package repository plugin: 'memory' HOT 1
- TSC Meeting 2024-06-20
- Using aliases in Powershell muffles exit code
- Backslash in rezconfig.py causing errors on fresh windows installations. HOT 1
- _VersionRangeParser regex don't match `range_desc` example HOT 3
- Pip remaps - error when install HOT 1
- rez-env python -- which python failed HOT 1
- rez-bundle throws subprocess.Popen error
- PowerShell alias calling non-existent command returns 0 exit code HOT 1
- ConfigurationError: Misconfigured setting 'package_cache_clean_limit': -1 should be instance of <class 'float'>
- Can't escape dollar sign in Powershell string
- When I run rez-env, I get an error of "no shells available" HOT 2
- Hooks for package caching? HOT 4
- Use pyinstaller to build a portable rez edition HOT 6
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 rez.