Get system command output: Difference between revisions

Content added Content deleted
No edit summary
Line 677: Line 677:


=={{header|FutureBasic}}==
=={{header|FutureBasic}}==
Simple system commands can be run in FB's open "UNIX" function. However, more common are functions such as this example which uses a notification observer to return watch as data is downloaded in the background. The command in this example returns the mdls manpage.
Simple system commands can be run in FB's open "UNIX" function. However, more common are functions such as this example which uses a notification observer to watch as data is downloaded in the background. The command in this example returns the mdls man page.
<lang futurebasic>
<lang futurebasic>
include "NSLog.incl"
include "NSLog.incl"
Line 744: Line 744:
Mac OS X June 3, 2004 Mac OS X
Mac OS X June 3, 2004 Mac OS X
</pre>
</pre>








=={{header|Gambas}}==
=={{header|Gambas}}==