author | viric@llimona |
Mon, 02 Apr 2007 17:53:52 +0200 | |
changeset 74 | bb1b20d79acf |
parent 49 | 09bb8a5583e9 |
child 92 | 05004c52ecff |
permissions | -rw-r--r-- |
49 | 1 |
/* |
2 |
Task Spooler - a task queue system for the unix user |
|
3 |
Copyright (C) 2007 LluĂs Batlle i Rossell |
|
4 |
||
5 |
Please find the license in the provided COPYING file. |
|
6 |
*/ |
|
34 | 7 |
#include <sys/types.h> |
8 |
#include <unistd.h> |
|
9 |
||
10 |
#include "main.h" |
|
11 |
||
12 |
void c_run_tail(const char *filename) |
|
13 |
{ |
|
14 |
execlp("tail", "tail", "-f", filename, NULL); |
|
15 |
} |
|
16 |
||
17 |
void c_run_cat(const char *filename) |
|
18 |
{ |
|
19 |
execlp("cat", "cat", filename, NULL); |
|
20 |
} |