STD not working

BlitzMax Forums/BlitzMax Programming/STD not working

I get notta when i try the example below, am I being an idiot or is this just completely wrong?

in.bmx
Local Proc:TProcess = CreateProcess("out.exe", 1)
		Delay 1000
TerminateProcess Proc
Proc.Close()
	
Print ReadStdin$()

Input
End


out.bmx
WriteStdout "Hello 'in'"