comparison src/app.coffee @ 27:f27ddfa42e94

try/catch; From/To/-ESN changes; google probs
author Mathias Gebbe <mgebbe@intevation.de>
date Sat, 28 Jun 2014 13:08:40 +0200
parents dbe2232af20f
children faeb3b96bdeb
comparison
equal deleted inserted replaced
26:cdbc77880565 27:f27ddfa42e94
36 on address %s port %d', config.address, config.port 36 on address %s port %d', config.address, config.port
37 37
38 # Start Deamon! 38 # Start Deamon!
39 # or comment to the next hashtag after ')' and use 39 # or comment to the next hashtag after ')' and use
40 # Sync.sync() 40 # Sync.sync()
41 # or start coffee syncALONE.coffee in a different window 41 # or (best) start coffee syncALONE.coffee in a different shell
42 exec = require("child_process").exec 42 exec = require("child_process").exec
43 child = undefined 43 child = undefined
44 child = exec("coffee syncALONE.coffee", (error, stdout, stderr) -> 44 child = exec("coffee syncALONE.coffee", (error, stdout, stderr) ->
45 console.log "stdout: " + stdout 45 console.log "stdout: " + stdout
46 console.log "stderr: " + stderr 46 console.log "stderr: " + stderr
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)