handle return of system call
This commit is contained in:
parent
d0e98eb3f1
commit
649e4498c1
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ int main (int argc,char** argv)
|
|||
mapnik::save_to_file<mapnik::image_data_32>(im.data(),svg_name,"png");
|
||||
std::ostringstream s;
|
||||
s << "open " << svg_name;
|
||||
system(s.str().c_str());
|
||||
return system(s.str().c_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue