Groups
Groups
Sign in
Groups
Groups
nodejs
Conversations
About
Send feedback
Help
NodeJS IPC which spec ? Alternative for Python to do a process.send() ?
120 views
Skip to first unread message
Alexandre Strzelewicz
unread,
May 22, 2014, 4:39:15 PM
5/22/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nod...@googlegroups.com
Hello,
I'm spawning a Python script in NodeJS via .spawn() and I would like to know if there is an alternative to do a `process.send()` with Python ?
What is the spec of the NodeJS IPC ? System V IPC vs POSIX IPC ?
Thanks,
greelgorke
unread,
May 23, 2014, 4:37:58 AM
5/23/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nod...@googlegroups.com
all you get is unix domain sockets wrapped in streams:
http://nodejs.org/api/child_process.html#child_process_child_stdin
you can use dnode with them to establisch a RPC between them. there is a dnode implementation for Python
https://github.com/jesusabdullah/dnode-python
greelgorke
unread,
May 23, 2014, 4:39:19 AM
5/23/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nod...@googlegroups.com
ah sorry. i missed, that the package is wip.
Am Donnerstag, 22. Mai 2014 22:39:15 UTC+2 schrieb Alexandre Strzelewicz:
Alexandre Strzelewicz
unread,
May 23, 2014, 1:30:59 PM
5/23/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nod...@googlegroups.com
Thanks for this information, do you know where these socket files are stored ?
If I see that its complicated to implement I will go to another alternative
Alexandre Strzelewicz
unread,
May 25, 2014, 6:35:50 AM
5/25/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nod...@googlegroups.com
OK ! When opening an IPC channel, it's finally only about writing on the right filedescriptor :
http://stackoverflow.com/questions/23804434/python-process-forked-by-nodejs-alternative-to-process-send-for-python/23854353#23854353
Reply all
Reply to author
Forward
0 new messages