Merge pull request #52 from wentasah/escape-output
Allow using single quotes in output file names
This commit is contained in:
commit
ab927d0622
@ -925,7 +925,7 @@ function execall(gp::GPSession; term::AbstractString="", output::AbstractString=
|
|||||||
gpexec(gp, "unset multiplot")
|
gpexec(gp, "unset multiplot")
|
||||||
gpexec(gp, "set term $term")
|
gpexec(gp, "set term $term")
|
||||||
end
|
end
|
||||||
(output != "") && gpexec(gp, "set output '$output'")
|
(output != "") && gpexec(gp, "set output '$(replace(output, "'" => "''"))'")
|
||||||
|
|
||||||
# printstyled("Plotting with terminal: " * terminal() * "\n", color=:blue, bold=true)
|
# printstyled("Plotting with terminal: " * terminal() * "\n", color=:blue, bold=true)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user