File: test_spawn_unit.pro

package info (click to toggle)
gnudatalanguage 0.9.9-13
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 17,892 kB
  • sloc: cpp: 167,389; ansic: 9,358; sh: 566; python: 472; makefile: 252; f90: 28
file content (7 lines) | stat: -rw-r--r-- 147 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
pro test_spawn_unit
  str_a = 'AQQ'
  spawn, 'echo ' + str_a, unit=u
  str_b = '   '
  readu, u, str_b
  if str_a ne str_b then exit, status=1
end