PowerShell support

Comments

4 comments

  • Avatar
    Jayme Edwards

    Yes please - it seems I can set powershell.exe as the executable, but it runs in some weird security context that doesn't pick up the profiles.

    0
    Comment actions Permalink
  • Avatar
    Marco Abis

    Hi there,

          quick question: when you say "I have to create cmd file" do you mean you create external files and then launch them from Go? If so have you looked into writing the powershell script directly in Go as a custom command

    cmd.png

     

    Marco

    0
    Comment actions Permalink
  • Avatar
    Andrei Matusevich

    Yep I use external cmd file.  

    Another option you can go with ps files 

    <exec command="powershell">
    <arg>BuildScripts\ncover2.ps1</arg>
    <arg>-project_name</arg>
    <arg>Thales.Models</arg>
    <runif status="passed" />
    </exec>

    I remember that I was struggling with executing ncover as it has pretty complicated command line and I don't know a way to look-up a command actually executed by GO. 

    0
    Comment actions Permalink
  • Avatar
    Marco Abis

    Hi Andrei,

        we released Go 13.1 yesterday and greatly improved the Custom Command feature with the addition of a searchable Command Repository.

     

    Let me know what you think of it

    Marco

    0
    Comment actions Permalink

Please sign in to leave a comment.