php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8729 popen with >> crashes Win98
Submitted: 2001-01-15 19:46 UTC Modified: 2001-04-29 13:28 UTC
From: csaba at alum dot mit dot edu Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0.4pl1 OS: Win 98
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: csaba at alum dot mit dot edu
New email:
PHP Version: OS:

 

 [2001-01-15 19:46 UTC] csaba at alum dot mit dot edu
I have two files delme1 and delme2
delme1 has
This is junk in delme1

delme2 has
This is trash in delme2

I wish to append delme1 onto delme2 using a canned method or
function (popen or passthru) on Win98.  On my WinNT system it
works fine.  On Win98 both of the 
methods crashes the system hard (i.e. Ctrl+Alt+Delete does not work).
I have tried this with both the small and complete php4.
With and without apache.  Using both "r" and "w" as the popen options.
It also failed hard when I tried to use passthru.

$hp = popen("type delme1 >> delme2", "r");

Have done searches which turned up nothing about this.

       Csaba Peter Gabor  (212-270-0610)
       csaba@alum.mit.edu

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-29 13:28 UTC] andi@php.net
popen() has been rewritten for Windows. This will be available in PHP 4.0.6. Please wait for that or check the latest CVS. If the problem persists please open a new bug report.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 02:01:28 2025 UTC