File: test_spawn_unit.pro

package info (click to toggle)
gnudatalanguage 0.9.5-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 15,228 kB
  • ctags: 11,455
  • sloc: cpp: 143,352; makefile: 426; sh: 103; ansic: 44; awk: 18; python: 6
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