<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Hello,</div><div class=""><br class=""></div><div class="">I've written a simple ogr2ogr command to read a specific csv file and load it into a specific Postgis table.  When I execute it in the terminal it works fine but when I put it in an action in QGis 3.4 I get a message saying 'Unable to run command ‘.  </div><div class=""><br class=""></div><div class="">The command is : <i class="">ogr2ogr -append -f "PostgreSQL" PG: "host=server_ip user=myself dbname=somedb" -nln someschema.sometable test_/path/to/thefile.csv</i></div><div class=""><br class=""></div><div class="">The action is of type Generic, has both Layer and Canvas scope (nothing else), clicking its icon in the attributes table gives me the above error message, clicking it through the action icon in the canvas toolbar leads to nothing.  </div><div class=""><br class=""></div><div class="">The idea here was simply to take advantage of QGis to load those data in a user friendly way, after which the data would be processed by some trigger functions in Postgresql and finally displayed in the canvas.  </div><div class=""><br class=""></div><div class="">Why doesn’t it work ?</div><br class=""><div class="">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">Didier</div></div></div></body></html>