client_run.c
author viric@llimona
Mon, 02 Apr 2007 17:53:52 +0200
changeset 74 bb1b20d79acf
parent 49 09bb8a5583e9
child 92 05004c52ecff
permissions -rw-r--r--
Marking the TODO for 0.3

/*
    Task Spooler - a task queue system for the unix user
    Copyright (C) 2007  LluĂ­s Batlle i Rossell

    Please find the license in the provided COPYING file.
*/
#include <sys/types.h>
#include <unistd.h>

#include "main.h"

void c_run_tail(const char *filename)
{
    execlp("tail", "tail", "-f", filename, NULL);
}

void c_run_cat(const char *filename)
{
    execlp("cat", "cat", filename, NULL);
}