Is there a way to call an external script?

Hi , i’m looking for a way to call an external script with either PHP, C++, JAVA, BATCH and so on.

regards.