mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-12 17:06:15 +00:00
Fixed handling of show -viewer
This commit is contained in:
parent
2887e4305f
commit
e1a80b356e
1 changed files with 1 additions and 1 deletions
|
@ -474,7 +474,7 @@ struct ShowPass : public Pass {
|
||||||
log_cmd_error("Shell command failed!\n");
|
log_cmd_error("Shell command failed!\n");
|
||||||
|
|
||||||
if (!viewer_exe.empty()) {
|
if (!viewer_exe.empty()) {
|
||||||
cmd = stringf("%s '%s' &", viewer_exe.c_str(), dot_file.c_str());
|
cmd = stringf("%s '%s' &", viewer_exe.c_str(), ps_file.c_str());
|
||||||
log("Exec: %s\n", cmd.c_str());
|
log("Exec: %s\n", cmd.c_str());
|
||||||
if (system(cmd.c_str()) != 0)
|
if (system(cmd.c_str()) != 0)
|
||||||
log_cmd_error("Shell command failed!\n");
|
log_cmd_error("Shell command failed!\n");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue