I have been testing this. On the server where EaysMorph is installed and where we also have pgsql.exe I can run it from the command line directly with the following command (I replaced here the host with myhost so that I can post it on the forum).
cd C:\Program Files\PostgreSQL\11\bin
psql --host=myhost --dbname=energieprestatiedatabank --username=easymorph_user --no-password --file=“D:\EasyMorph_Server\Spaces\development\gebouwen\load.sql”
When I try to run it like this in run a program it does not import the CSV. In the load.sql file there’s a \copy command.
When I try another approach by pointing to the application directly from run a program it does not work either. I override parameters on the server to make sure I refer to the right programs and files.