I have a simple c++ program with lua embedded into it.
Is there a difference when you double click an executable? or when you ./file_name it in the terminal. as I get two different results.
if I double click the icon it just ignores the lua
if I ./file_name it works perfectly.
interestingly If I access the executable with the full path I get the same result as double clicking it.
Is there a difference when you double click an executable? or when you ./file_name it in the terminal. as I get two different results.
if I double click the icon it just ignores the lua
if I ./file_name it works perfectly.
interestingly If I access the executable with the full path I get the same result as double clicking it.