Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <v376tc$14a46$2@dont-email.me>
Deutsch   English   Français   Italiano  
<v376tc$14a46$2@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lew Pitcher <lew.pitcher@digitalfreehold.ca>
Newsgroups: comp.os.linux.misc
Subject: Re: How many ways can you run a script?
Date: Wed, 29 May 2024 12:26:20 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <v376tc$14a46$2@dont-email.me>
References: <v372oq$1462c$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 29 May 2024 14:26:20 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="addc4a28d9fbe809e2a38ec28a140433";
	logging-data="1190022"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX199MeTjmlB2BDiHaDvKvhVKNvgPdUhseJ4="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
 git://git.gnome.org/pan2)
Cancel-Lock: sha1:rKDquLOqQpenhm46tFSWyL0UEe8=
Bytes: 1564

On Wed, 29 May 2024 19:15:34 +0800, Woozy Song wrote:

> sh script
> bash script
> source script
> taskset FF script
> rsh localhost script
> ssh localhost script
> xterm -e script
> nohup script
> 
> I know these are not all equivalent and may have idiosyncracies.
> Any others?

Of course, these all use the compiled-language functions to
run scripts. So, let's include (the C API) lower-level functions:
  system("script");
  popen("script",...);
  if (fork() == 0) execl("script",...); else wait(void);

HTH
-- 
Lew Pitcher
"In Skills We Trust"