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

  • SEARCH
  • Home
  • 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 526945
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:49:49+00:00 2026-05-13T08:49:49+00:00

I call a file with popen(): $fp = @popen(/usr/bin/openssl …); the specific details don’t

  • 0

I call a file with popen():

$fp = @popen("/usr/bin/openssl ...");

the specific details don’t matter, but what happens here is that when I run the command I receive these errors on a Windows CMD:

The system cannot find message text
for message number 0x3 in the message
file for System.

I know that the file don’t exist on Windows, but why doesn’t @ silence the errors? My library just tries a few different ways to achieve the same thing.

  • 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-13T08:49:50+00:00Added an answer on May 13, 2026 at 8:49 am

    This is not a error message issued by PHP, so PHP’s error suppression won’t apply.

    You’ll have to check whether you can run the operation beforehand or suppress the output of system errors.

    For suppressing, 2>NUL should work, as you say. Wouldn’t it be better though to test whether the file exists at all? On a Windows machine, your executable is most probably not located in /usr/bin/openssl.

    if (file_exists("/usr/bin/...."))
     popen(".....");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Traceback (most recent call last): File manage.py, line 10, in <module> execute_from_command_line(sys.argv) File D:\PythonPack\lib\site-packages\django\core\management\__init__.py,
Traceback (most recent call last): File <pyshell#9>, line 1, in <module> ClosestCommonAncestor(A,C,x) File C:\x\x.py,
I have this class file call SMSHelper.cs First I just wanted to know is
Is there any option to call msi file from CreateProcess in c language in
When error occured Python prints something like this: Traceback (most recent call last): File
>>> import MySQLdb Traceback (most recent call last): File <stdin>, line 1, in <module>
>>> import pylibmc Traceback (most recent call last): File <stdin>, line 1, in <module>
in file.php : call()... How to get absolute path of file.php inside call() ?
Is it possible to call a .ctp file from a layout which is also
Is it possible to call an exe file and get result from it? (basic)

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.