in reply to Re^3: Troubles with getting NYTProf to work properly in a CGI program
in thread Troubles with getting NYTProf to work properly in a CGI program

That's what I'd missed.

It ignores the path for the output file I'd specified, but that's OK, as I found it anyway.

Thanks

Ted

  • Comment on Re^4: Troubles with getting NYTProf to work properly in a CGI program

Replies are listed 'Best First'.
Re^5: Troubles with getting NYTProf to work properly in a CGI program
by Anonymous Monk on Feb 22, 2013 at 04:56 UTC

    And while escaping might work, I think it is a bit of a bug (at least a documentation bug)

    OTOH, if it accepted something standard like JSON the parsing is greatly simplified

    export NYTPROF='{"start":"init","file":"C:/..."}'
Re^5: Troubles with getting NYTProf to work properly in a CGI program
by Anonymous Monk on Feb 22, 2013 at 04:52 UTC

    Well :) you used the delimiter character : without escaping it, as part of the filename

    I imagine  file=C\:/....../ would work