That should work fine, but as a tip, the use of a shell command can be avoided by using the direct AppleScript approach like this:
tell application "Typora" to open thisPath
This approach should also avoid potential problems when the file name or path has special characters in it (which is something that can cause problems when strings are constructed and executed as shell scripts, even when using the “quoted form”).