We need to perform some operations in lock step between graph transitions. This should help with that!
10 lines
211 B
Bash
Executable File
10 lines
211 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
go build libmgmt-change1.go
|
|
# this example should change graphs frequently, and then shutdown...
|
|
$timeout --kill-after=30s 20s ./libmgmt-change1 &
|
|
pid=$!
|
|
wait $pid # get exit status
|
|
e=$?
|
|
exit $e
|