File: hello.sh

package info (click to toggle)
ruby-fusefs 0.7.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 296 kB
  • sloc: ansic: 1,137; ruby: 760; sh: 8; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 176 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
mkdir -p hello
ruby -rsample/hello -e "puts 'starting...'" hello &
echo $? > pid
sleep 1
cat hello/hello.txt
# umount hello/
sleep 1
cat pid | xargs kill
rmdir hello