GraphWriter: try gv before xdg-open
authorAlp Toker <alp@nuanti.com>
Wed, 4 Jun 2014 04:11:12 +0000 (04:11 +0000)
committerAlp Toker <alp@nuanti.com>
Wed, 4 Jun 2014 04:11:12 +0000 (04:11 +0000)
commit3b3d2e2c3a34e852579ba77e5b9d5be49d83bd03
tree99c48eaafbb71a7c89c976166102948b89f82d28
parenta5bd2adbc74fe77909efcf16a9462aa8c00f47ad
GraphWriter: try gv before xdg-open

Avoid changing behaviour for everyone who's used to the traditional ghostview
UI, especially since it knows how to stay in the foreground unlike xdg-open.

Amendment to r210147.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210148 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/GraphWriter.cpp