Process.write() not accepting strings

The Bridge Library documentation states the following:


Process.write(buf, len)


val: a value to send as a single byte
str: a string to send as a series of bytes
buf: an array to send as a series of bytes
len: the length of the buffer


However, the following:

Process.write(“Hellow World”); // in this case, you can fill in whatever “Process” you prefer. I have been using a node.js process.

returns the following error:

nodetest.ino: In function ‘void loop()’:
nodetest.ino:46:32: error: invalid conversion from ‘const char*’ to ‘uint8_t {aka unsigned char}’ [-fpermissive]
In file included from nodetest.ino:18:0:
/home/jpetitte/Applications/arduino-1.5.7/libraries/Bridge/src/Process.h:52:12: error: initializing argument 1 of ‘virtual size_t Process::write(uint8_t)’ [-fpermissive]
size_t write(uint8_t);

It seems as though Process.write() cannot accept strings. Am I misinterpreting something, or is this a bug?

As a side note, instead of using Process.write(), I use Process.println(), which accepts strings.

What are your thoughts?

have you tried with ?
I think that the write interface is only for low level data manipulation, but I'm not an arduino expert..