Does os.system in a Perspective view run in the client's browser or on the server?

I found myself flip-flopping on this.

  • “Browser - 'cos it’s Perspective.”
  • “Server - 'cos it would be unsafe to run code in the browser.”
  • “Browser - it’s Java - or is it?”
import os
    # -n for Windows ping count. -c for everything else.
	os.system('ping -n 1 -w 1000 > ping_out.txt')

Where am I pinging from - server or client?


1 Like