[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Making hard links from within chicken?

From: Sunnan
Subject: [Chicken-users] Making hard links from within chicken?
Date: Tue, 18 Jan 2005 08:54:55 +0100

I'm using system to create links in a small program (available at, but, as written, I don't do
enough checks for goofy file names (containing stuff like "; or "`) so
it's a potential security hole, if someone has access to the music

So I figured: "is there a way to call system with separate args, instead
of with a string, as in perl?" and went to check in the chicken manual.

I couldn't find it, so I'm starting to think that maybe I'm using system
way too often. (Spoiled with writing shell scripts.)

What would you do, in this situation?

(And also, maybe I'm missing something obvious, but is there a simple
way to copy files from within chicken besides opening them and rewriting

reply via email to

[Prev in Thread] Current Thread [Next in Thread]