2016 Update

This commit is contained in:
Tina Müller 2016-12-05 22:15:40 +01:00
parent 948b86eafa
commit dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions

View file

@ -0,0 +1,17 @@
program https_example
implicit none
character (len=:), allocatable :: code
character (len=:), allocatable :: command
logical:: waitForProcess
! execute Node.js code
code = "var https = require('https'); &
https.get('https://sourceforge.net/', function(res) {&
console.log('statusCode: ', res.statusCode);&
console.log('Is authorized:' + res.socket.authorized);&
console.log(res.socket.getPeerCertificate());&
res.on('data', function(d) {process.stdout.write(d);});});"
command = 'node -e "' // code // '"'
call execute_command_line (command, wait=waitForProcess)
end program https_example