Skip to main content

Process (Internal use only)

verbs

VerbWindowsmacOS linuxRemarks
"""open""open""xdg-open"
"edit""edit""TextEdit""gedit"
"explore""explore""open""xdg-open"for macOS and linux check arguments is directory
"find""find"??does not work with process csharp ??
"open""open""open""xdg-open"
"print""print""lpr""lpr".
"runas""runas""osascript"?

osascript on macOS:

  • link :

see

  • command line :
osascript = "osascript -e "do shell script \"App.app/Contents/MacOS/App\" with administrator privileges""
  • TextEdit example :
osascript -e "do shell script \"/System/Applications/TextEdit.app/Contents/MacOS/TextEdit\" with administrator privileges"
  • TextEdit example with system :
system("osascript -e \"do shell script \\\"/System/Applications/TextEdit.app/Contents/MacOS/TextEdit\\\" with administrator privileges\"");