in reply to using variable inside system call

change the single-quoted string for a double-quoted one, change $[node] to ${node}, escape those double quotes within the string, and beware of the quotes in general with respect to what actually gets passed to the shell.

system ("wrunprb \"*\" \"*\" \"*\" ${node}");