D版本的c++的系统功能是什么?

时间:2021-02-27 21:37:31

How do I execute a command in the system shell in D (preferably Tango)?

如何在D(最好是探戈)的系统shell中执行命令?

2 个解决方案

#1


5  

tango.stdc.stdlib should, as tango's docs say,

tango.stdc。就像探戈的医生说的那样,stdlib应该,

provide[s] an essentially complete interface to the standard C library (according to ISO/IEC 9899:1999)

向标准C库提供一个基本完整的接口(根据ISO/ iec9899:1999)

(stdlib.h is where C defines system).

(stdlib。h是C定义系统的地方。

#2


16  

Phobos provides std.process (D1.x) (D2.x). Then you would just use the system() call. The exec commands are also available here.

Phobos提供std.process (D1.x) (D2.x)。然后您将使用system()调用。这里也可以使用exec命令。

#1


5  

tango.stdc.stdlib should, as tango's docs say,

tango.stdc。就像探戈的医生说的那样,stdlib应该,

provide[s] an essentially complete interface to the standard C library (according to ISO/IEC 9899:1999)

向标准C库提供一个基本完整的接口(根据ISO/ iec9899:1999)

(stdlib.h is where C defines system).

(stdlib。h是C定义系统的地方。

#2


16  

Phobos provides std.process (D1.x) (D2.x). Then you would just use the system() call. The exec commands are also available here.

Phobos提供std.process (D1.x) (D2.x)。然后您将使用system()调用。这里也可以使用exec命令。