Home
Options

Util.Cmd output

I'm attempting to use the Util.Cmd function with programs which output to stdErr.
While LinqPad prints the output, there is nothing returned from the call. How can I capture the stdErr output?

Comments

  • Options

    Which version of LINQPad?

    When I run the following in LINQPad 6:

    Util.Cmd ("dotnet foo");
    

    it outputs the following:

    Could not execute because the specified command or file was not found.
    Possible reasons for this include:
      * You misspelled a built-in dotnet command.
      * You intended to execute a .NET program, but dotnet-foo does not exist.
      * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
    
    
  • Options

    Version 6.14.10
    I'm using 2 programs Ffmpeg & Mp4Box which both output to stderr, and get 2 different results.

    LinqPad prints the output from both correctly but MP4Box returns no items whilst ffmpeg returns an error which does seem to contain the output text, or part thereof.

  • Options

    The output looks like this. LinqPad 5 only outputs the Dump()

Sign In or Register to comment.