in reply to System notepad pipe

notepad expects a file name, so you'd have to use a named pipe. Win32::Pipe can help you create one.