Perun2 provides a convenient interface for files and programs.
We can open a file using its default program. Enter a name, a path or multiple values.
We can open a popular program. Right here you can find some useful constants to choose from. If there is no constant value for your program, enter a string literal with an absolute path to it.
We can open a file using a program as shown below.
Of course more complex scripts can be made. Make sure to put the with part at the end of the command and not somewhere in the middle.