How I trigger the "System Bell" in nodejs

I'm running a long running custom nodejs script and would like to be notified when the script is completed.

How do I make nodejs trigger the "System Bell"?

Answers


Output the BELL character (Unicode 0007) to the standard output.

console.log('\u0007');

References


Need Your Help

Http Basic Authentication in Java using HttpClient?

java http apache-commons

I am trying to mimic the functionality of this curl command in Java:

Ruby Convert String to File

ruby string file

Is it possible to convert a string to a file without writing it to disk?