Skip to content
Snippets Groups Projects
Commit 50d84c17 authored by Gerhard Gonter's avatar Gerhard Gonter :speech_balloon:
Browse files

fork tomboy

parent 14ef6efa
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,12 @@ elsif ($op_code eq 'boy')
print "note_dir=[$note_dir]\n";
my @x= (qw(tomboy --note-path), $note_dir);
print "x=[", join (' ', @x), "]\n";
system (@x);
my $pid= fork();
if ($pid > 0) { print "forked $pid\n"; exit (0) }
elsif ($pid < 0) { die "can't fork [". join (' ', @x). ']'; }
exec (@x);
}
elsif ($op_code eq 'diff')
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment