-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE][Python console] Run shell commands from the console #51919
[FEATURE][Python console] Run shell commands from the console #51919
Conversation
4be9e0c
to
515aaf7
Compare
@YoannQDQ A documentation ticket will be opened at https://github.com/qgis/QGIS-Documentation when this PR is merged. Please update the description (not the comments) with helpful description and screenshot to help the work from documentors. Thank you! |
515aaf7
to
14a7bb5
Compare
14a7bb5
to
1f23378
Compare
@YoannQDQ , really nice feature. |
1f23378
to
839ce8c
Compare
839ce8c
to
1d147f6
Compare
@nyalldawson Would you care to review this? I'd really like to see it merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am in favor of merging this. It's a lot of system specific code in areas I don't know very well. But this is isolated to when the new functionality is actually used and so it should be save to send this for a wider test ride and react on feedback from different system.
@YoannQDQ |
Description
Mimics IPython behavior to run system command from the Python console.
!cmd
. The console will start a subprocess, and forward its output to the Python Console Output.var = !cmd
Example