Skip to content

怎么打包启动命令,以便执行exe文件就相当于启动了 #16

@askme-gpt

Description

@askme-gpt

描述 (Description)

你好,我的php项目已经打包成了phar文件,但是运行的时候需要php test.phar start这样起服务,这样运行服务是正常的。我直接copy /b micro.sfx + test.phar test.exe,然后运行test.exe不行,需要怎么做才能把这个启动命令也打到二进制文件呢?我想要的结果是,直接运行test.exe就相当于执行php test.phar start这个命令。谢谢

期望 (Expectation)

我想要的结果是,直接运行test.exe就相当于执行php test.phar start -d 这个命令,在后台运行。谢谢

结果 (Result)

目前是没啥反应,立马退出了。

软件版本 (Software version)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions