[SOLVED] executeCommandLine - passing parameter

executeCommandLine("pigs p 21 " + PWMValue.toString)

Beware that pigs binary should found from PATH, so normally it’s better use absolute path, e.g. /bin/pigs

2 Likes