ismile1943 / gperftools

Automatically exported from code.google.com/p/gperftools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

[patch] fix prof/web command on Windows/MinGW #636

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If `uname` match /MINGW/, use `cmd /c start $fname` to open SVG file.

sub RunWeb {

+  if (`uname` =~ /MINGW/) {
+    # Windows(MinGW): open will use standard preference for SVG files.
+    system("cmd", "/c", "start", $fname);
+    return;
+  }

}

Original issue reported on code.google.com by chaishus...@gmail.com on 22 Jul 2014 at 6:49

Attachments:

GoogleCodeExporter commented 9 years ago
applied. Thanks.

Original comment by alkondratenko on 26 Jul 2014 at 9:05