How to send a message to a native windows app from electron?

Here’s what I am going to do: Electron launch a external windows app as a child process, using node child_proecss.spawn for example. After that, electron needs to send message to the child process. Can I send a WM_COPYDATA message from electron?