You are not logged in.

#1 2008-10-20 16:33:18

tony5429
Member
Registered: 2006-03-28
Posts: 861
Website

Bash Dependency?

Simple question: I am wondering... If I make a C programme and I include in it the line system("clear"); (and yes, I know this is poor practice), is bash then a dependency of the application?


Yellowcot: A free, lightweight, open-source, cross-platform, Qt-based multimedia flash card simulator.

Offline

#2 2008-10-20 16:42:46

skymt
Member
Registered: 2006-11-27
Posts: 443

Re: Bash Dependency?

No: system() calls /bin/sh. If a Linux system doesn't have a working /bin/sh, it almost certainly can't even boot.

Offline

Board footer

Powered by FluxBB