I'm just wondering. What command-line command is executed when a file is opened using a certain program?

New contributor
iDoProgramming is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • 2
    The program path is the command. – gronostaj Feb 14 at 21:58
  • 2
    "Certain program" is executed. Usually with the file as a parameter. – Mokubai Feb 14 at 22:26
  • 2
    When a file (i.e., a document) is opened using a certain program (i.e., from within a running application via menu File->Open, say), no command line is executed at all. – Hagen von Eitzen Feb 14 at 23:05

Browse other questions tagged or ask your own question.