[vc_row][vc_column][vc_btn title=PROCESS MANAGEMENT” style=”outline” color=”primary” i_align=”right” i_icon_fontawesome=”fa fa-cloud” add_icon=”true”][vc_empty_space height=”12px”][vc_empty_space height=”12px”][vc_column_text]
Avoid launching OS-specific sub-processes from code
[/vc_column_text][vc_column_text]
Cloud/PaaS applications must be OS-agnostic as much as possible and should not rely on OS-specific features or processes, which may not be available on the Cloud environment as the underlying operating system (in this specific case, Windows) may change over time. Sub-processes that are executed from code are specific to an Operating System.
[/vc_column_text][vc_empty_space][vc_single_image image=”5362″ img_size=”full”][vc_row_inner][vc_column_inner width=”1/2″][vc_column_text]
Criticality
[/vc_column_text][vc_btn title=”BLOCKER” style=”flat” color=”juicy-pink” i_align=”right” i_icon_fontawesome=”fa fa-exclamation-circle” add_icon=”true”][vc_btn title=”LOW” style=”flat” color=”black” i_align=”right” i_icon_fontawesome=”fa fa-bolt” add_icon=”true”][vc_column_text]
The criticality level impacts the application Cloud Maturity score, whether it is a blocker (a negative pattern found during the code scan) or a booster (a pattern that makes your app more Cloud-ready) and the corresponding level (low, medium, high, critical).
[/vc_column_text][/vc_column_inner][vc_column_inner width=”1/2″][vc_column_text]
Migration Impacts
[nz_btn text=”Code” link=”#” target=”_self” icon=”icon-heart-broken” animate=”false” animation_type=”ghost” color=”black” size=”small” shape=”rounded” type=”normal” hover_normal=”fill” hover_ghost=”fill” el_class=”” /]
Migration impact levels indicate the different layers of your application that you should modify or fix, in order to comply with Cloud-oriented programming best practices and remove the identified roadblocks.[/vc_column_text][/vc_column_inner][/vc_row_inner][vc_row_inner][vc_column_inner][vc_single_image image=”5362″ img_size=”full”][vc_column_text]
Searched Code Patterns
Search in code for sub-processes.
Examples:
- C#/VB.Net: Detect of using System.Diagnostics in combination with new Process(
- Python: subprocess.run(
[/vc_column_text][/vc_column_inner][/vc_row_inner][vc_row_inner][vc_column_inner][vc_single_image image=”5362″ img_size=”full”][vc_column_text]
References
https://developer.ibm.com/articles/1404-brown/[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row]
Leave a Reply