Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6107669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:12:48+00:00 2026-05-23T14:12:48+00:00

In pseudocode… processHandle = _spawnl(_P_NOWAIT, foo.exe, …); /* time passes… */ WossnameKillFunction(processHandle);

  • 0

In pseudocode…

processHandle = _spawnl(_P_NOWAIT, "foo.exe", ...);

/* time passes... */
WossnameKillFunction(processHandle);
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T14:12:49+00:00Added an answer on May 23, 2026 at 2:12 pm

    There is no terminate counterpart to the VC++ function _spawnl(), but it does return a Win32 HANDLE that you can use:

    HANDLE handle = (HANDLE)_spawnl(...);
    TerminateProcess(handle, exit_code);
    

    Note it only returns a HANDLE if you call it with one of the NOWAIT args. If not, it will return the process’s exit code.

    Of course, it’s far better if you can somehow communicate to the process that it should exit gracefully. TerminateProcess will prevent any cleanup code from being called.

    (And as a small side note: despite what MSDN says about spawnl() being a deprecated POSIX function, it’s actually never been in any POSIX standard! As far as I know it originates from QNX.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a struct Foo . In pseudocode: def FindFoo: foo = results of
I have several ajax requests that return different values (pseudocode ahead) var foo =
As an example in pseudocode: if ((a mod 2) == 0) { isEven =
I'm looking for pseudocode, or sample code, to convert higher bit ascii characters (like,
Do you have pseudocode for field validation of the following items in the UK?
In VB pseudocode, I'm trying to accomplish the following using SSIS (either 2008 or
Example class in pseudocode: class SumCalculator method calculate(int1, int2) returns int What is a
Typical way of creating a CSV string (pseudocode): Create a CSV container object (like
I want something similar to the following pseudocode: myGridView.SelectedIndex = myGridView.DataKeys.IndexOf(mySpecificKey); I've done some
I don't want to invite an argument over whether Pseudocode is useful or not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.