Execute a system command: Difference between revisions
Content added Content deleted
m (→[[Java]]) |
No edit summary |
||
Line 223: | Line 223: | ||
echo nl2br($output); |
echo nl2br($output); |
||
'''Note:'''The '@' is here to prevent error messages to be displayed, 'nl2br' translate '\n' chars to 'br' in HTML. |
'''Note:'''The '@' is here to prevent error messages to be displayed, 'nl2br' translate '\n' chars to 'br' in HTML. |
||
==[[Pop11]]== |
|||
[[Category:Pop11]] |
|||
The sysobey function runs commans using a shell: |
|||
sysobey('ls') |
|||
==[[Python]]== |
==[[Python]]== |