01-04-2019, 09:54 AM
A few try-outs but no success from a batch file.
As Ofnuts points out the commands are
-n, --new-instance
Start a new GIMP instance.
-a, --as-new
Open images as new.
In linux from a terminal or a bash file gimp path-to-/file.ext will start Gimp and open the image.
From a terminal gimp --as-new path-to-/another_file.ext opens another_file in the same Gimp. Both files are open.
This is not working from a bash script. The first command opens Gimp with the file. Then nothing happens until closing Gimp, then the second command starts. Tried some options starting separate executable bash files from a main bash file. Still no good. I know it is the way bash spawns the processes but can not find a way around it. Ofnuts will know
As Ofnuts points out the commands are
-n, --new-instance
Start a new GIMP instance.
-a, --as-new
Open images as new.
In linux from a terminal or a bash file gimp path-to-/file.ext will start Gimp and open the image.
From a terminal gimp --as-new path-to-/another_file.ext opens another_file in the same Gimp. Both files are open.
This is not working from a bash script. The first command opens Gimp with the file. Then nothing happens until closing Gimp, then the second command starts. Tried some options starting separate executable bash files from a main bash file. Still no good. I know it is the way bash spawns the processes but can not find a way around it. Ofnuts will know
