File: test_spawn_unit.pro

package info (click to toggle)
gnudatalanguage 0.9.2-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 15,212 kB
  • sloc: cpp: 114,857; sh: 11,170; makefile: 362; awk: 18; python: 6; ansic: 4
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