Giter Club home page Giter Club logo

Comments (5)

twangboy avatar twangboy commented on August 17, 2024 1

Could you try changing line 293 from this:

        new_cmd.extend(["-Command", f"& {{{cmd.strip()}}}"])

to this

        new_cmd.extend(["-Command", f'& "{cmd.strip()}"'])

from salt.

welcome avatar welcome commented on August 17, 2024

Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
Please be sure to review our Code of Conduct. Also, check out some of our community resources including:

There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar.
If you have additional questions, email us at [email protected]. We’re glad you’ve joined our community and look forward to doing awesome things with you!

from salt.

Gmasquelier avatar Gmasquelier commented on August 17, 2024

it seems related to this recent change:

https://github.com/saltstack/salt/pull/66447/files#diff-700b7d75700c9eafa3ee48d01236e59f37b2ed81d998267136fbcc0224766497L282

PS C:\WINDOWS\system32>  & {ls /tmp}
ls : Impossible de trouver le chemin d'accès « C:\tmp », car il n'existe pas.
Au caractère Ligne:1 : 5
+  & {ls /tmp}
+     ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\tmp:String) [Get-ChildItem], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand

PS C:\WINDOWS\system32> echo $?
True


PS C:\WINDOWS\system32> ls /tmp
ls : Impossible de trouver le chemin d'accès « C:\tmp », car il n'existe pas.
Au caractère Ligne:1 : 1
+ ls /tmp
+ ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\tmp:String) [Get-ChildItem], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand

PS C:\WINDOWS\system32> echo $?
False
PS C:\WINDOWS\system32>

Best regards,

from salt.

Gmasquelier avatar Gmasquelier commented on August 17, 2024

Yes I confirm that this modification correct the issue.

Best regards,

from salt.

twangboy avatar twangboy commented on August 17, 2024

The above PR should address this issue.

from salt.

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.