We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Ok so i run open("acquire.exe /scan ... ); - scans image into test.bmp then i run open("convert.exe test.bmp test.jpg"); - converts test.bmp to test.jpg
if i run code twice, second time it finds test.bmp and converts it to test.jpg, but complains it can't find it third time is a charm , runs and displays test.jpg because now its there.
So lines of code that call open and command line programs execute but apparently program doesn't wait for output before proceeding? Not used to this , in C code a call waits for return and then proceeds Is there a way to make the program wait till open returns before proceeding or something?