So I have a C code that I am trying to translate from windows into mac. I am trying to call LTspice application using the sample syntax below.
For windows, it is originally:
char *strPath ="\"C:/Program Files/LTC/LTspiceIV/scad3.exe\" -b 111219_10.net ";
Changed it to this for Mac:
char *strPath ="\"/Applications/LTspice.app\" -b 111219_10.net ";
And then I get this error:
sh: /Applications/LTspice.app: is a directory
I've been googling everywhere and I couldn't find an appropriate solution for this one. Can somebody help me fix this? Thanks in advance!
Kind regards,
Bern
For windows, it is originally:
char *strPath ="\"C:/Program Files/LTC/LTspiceIV/scad3.exe\" -b 111219_10.net ";
Changed it to this for Mac:
char *strPath ="\"/Applications/LTspice.app\" -b 111219_10.net ";
And then I get this error:
sh: /Applications/LTspice.app: is a directory
I've been googling everywhere and I couldn't find an appropriate solution for this one. Can somebody help me fix this? Thanks in advance!
Kind regards,
Bern