Node.js

Deploying to Mac OS? Ask Mac OS specific questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
rca
Posts: 16
Joined: Wed Aug 03, 2011 8:22 pm

Node.js

Post by rca » Fri May 23, 2014 3:57 am

Anyone used LiveCode with Node.js
I can run what I want in MacOS terminal
Using the Shell command from LivecCode does not work
I can "open process" to launch node (making sure I have the right path)
but I can NOT "write to process"
and of course I can't see what is happening, because
"hideConsoleWindows" .."has no effect on Mac OS or Unix systems."

Dictionary says
On OS X systems, you can use the open process command to start up an application, but not a Unix process. To work with a Unix process, use the shell func instead.

any suggestions?
should I write out a file, then execute it?
thanks
r

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Node.js

Post by Mark » Sun Jun 08, 2014 5:05 pm

Hi,

Please, post a Node.js example and your scripts. That might give someone a clue of what you're really trying to do and why it doesn't work.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply