Skip to content

Commit a923c51

Browse files
author
Tye Riley
committed
Script blocks and dynamic invocation
Signed-off-by: Tye Riley <[email protected]>
1 parent dc761d1 commit a923c51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rezplugins/shell/_utils/powershell_base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def alias(self, key, value):
297297
# TODO: Find a way to properly escape paths in alias() calls that also
298298
# contain args
299299
#
300-
cmd = "function %s() { %s @args }" % (key, value)
300+
cmd = "function %s { & %s @args }" % (key, value)
301301
self._addline(cmd)
302302

303303
def comment(self, value):

0 commit comments

Comments
 (0)