ZSkycat
ZSkycat
I think it just executes `{filename} {ArgumentList.join(' ')}` try this code ```powershell Start-Process -Wait -NoNewWindow pwsh.exe -ArgumentList '-noprofile', '-file', '"./t 1.ps1"' Start-Process -Wait -NoNewWindow pwsh.exe -ArgumentList '-noprofile', '-file', '"', './t...
This bug also exists in Windows PowerShell (no core)
@iSazonov I am using `\` to avoid this bug. but I like automatic processing slash in powershell. (like file path)
@mklement0 I understand. item name allow use '/' is too bad 😂😂😂
=_= 所以即使只是想要修改子属性,就必须创建一个新的对象吗?但是我在自定义的class中,使用 Object.assign 是可以正确调用属性的 set 的
``` t1 = { _a:1, set a(value){ console.log('set a') this._a = value; }, get a(){ console.log('set a') return this._a; } } Object.assign(t1, { a: 1 }) ``` 控制台使用,可以看到属性 set 是可以被成功调用的,但是对...
😅 发现我看错了,原来工作是正常。我的使用场景正是已经初始化过了,通过 Object.assign 同时修改多个属性而已。
same problem in borderlands 2
> The WG discussed this and believe that this could be achieved with a new ParameterSet (to avoid a breaking change) and new parameter (Uri) which would only support parameters...
This is my workaround. ``` (Join-Path $PWD.ProviderPath '\ ').TrimEnd() ```