Run External Command?

Asked by stonerfish

Is there a way to send information to and external command?
Perhaps to send the name of the current object to a wrapper that opens wikipedia in a browser.
Or to send any other information about current selection or state to the outside for processing?

Question information

Language:
English Edit question
Status:
Answered
For:
Stellarium Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Matthew Gates (matthew-porpoisehead) said :
#1

Hyperlinks in HTML-based dialogs should already open the linked URL in your web browser when clicked. This includes the help dialog (about tab), and the information pane of the starlore tab of the view dialog. This does not apply to text in the selected object information text at present.

I considered adding the option to "shell out" in the scripting engine, but rejected the idea so far because it has security implications. I don't want a Stellarium script to become a possible attack vector, so access to any objects outside of Stellarium has been avoided.

Can you help with this problem?

Provide an answer of your own, or ask stonerfish for more information if necessary.

To post a message you must log in.